F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_34684643_31522.cpp:29:25: error: stray '\357' in program
                         b[i][j]=a[i][j]+c[a[i][j]+a[i-1][j]+a[i+1][j]+a[i][j-1]+a[i][j+1]];    :                    ,     sum,              c[sum]。
                         ^
0_0_34684643_31522.cpp:29:25: error: stray '\274' in program
0_0_34684643_31522.cpp:29:25: error: stray '\232' in program
0_0_34684643_31522.cpp:29:25: error: stray '\357' in program
0_0_34684643_31522.cpp:29:25: error: stray '\274' in program
0_0_34684643_31522.cpp:29:25: error: stray '\214' in program
0_0_34684643_31522.cpp:29:25: error: stray '\357' in program
0_0_34684643_31522.cpp:29:25: error: stray '\274' in program
0_0_34684643_31522.cpp:29:25: error: stray '\214' in program
0_0_34684643_31522.cpp:29:25: error: stray '\343' in program
0_0_34684643_31522.cpp:29:25: error: stray '\200' in program
0_0_34684643_31522.cpp:29:25: error: stray '\202' in program
0_0_34684643_31522.cpp: In function 'int main()':
0_0_34684643_31522.cpp:29:127: error: 'sum' was not declared in this scope
                         b[i][j]=a[i][j]+c[a[i][j]+a[i-1][j]+a[i+1][j]+a[i][j-1]+a[i][j+1]];    :                    ,     sum,              c[sum]。
                                                                                                                               ^
0_0_34684643_31522.cpp:32:25: error: 'else' without a previous 'if'
                         else if(b[i][j]<0)   0
                         ^
0_0_34684643_31522.cpp:33:29: error: expected ';' before 'b'
                             b[i][j]=0;
                             ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-26 02:55:34, Gzip enabled