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_38778506_12742.cpp:26:12: error: missing terminating " character
   26 |     printf("%d
      |            ^~~
0_0_38778506_12742.cpp:27:1: error: missing terminating " character
   27 | ",ans);
      | ^~~~~~~
0_0_38778506_12742.cpp:31:1: error: stray '\267' in program
   31 | <b7><bd><b7><a8>2
      | ^~~~
0_0_38778506_12742.cpp:31:2: error: stray '\275' in program
   31 | <b7><bd><b7><a8>2
      |     ^~~~
0_0_38778506_12742.cpp:31:3: error: stray '\267' in program
   31 | <b7><bd><b7><a8>2
      |         ^~~~
0_0_38778506_12742.cpp:31:4: error: stray '\250' in program
   31 | <b7><bd><b7><a8>2
      |             ^~~~
0_0_38778506_12742.cpp:56:16: error: missing terminating " character
   56 |         printf("%d
      |                ^~~
0_0_38778506_12742.cpp:57:1: error: missing terminating " character
   57 | ",ans);
      | ^~~~~~~
0_0_38778506_12742.cpp: In function 'int main()':
0_0_38778506_12742.cpp:28:5: error: expected primary-expression before '}' token
   28 |     }
      |     ^
0_0_38778506_12742.cpp: At global scope:
0_0_38778506_12742.cpp:31:5: error: expected unqualified-id before numeric constant
   31 | 方法2
      |     ^
0_0_38778506_12742.cpp:39:5: error: redefinition of 'int n'
   39 | int n,s[N][N],ans,sum;
      |     ^
0_0_38778506_12742.cpp:7:5: note: 'int n' previously declared here
    7 | int n,a[N][N],g[N][N],s[N][N],ans;
      |     ^
0_0_38778506_12742.cpp:39:7: error: redefinition of 'int s [105][105]'
   39 | int n,s[N][N],ans,sum;
      |       ^
0_0_38778506_12742.cpp:7:23: note: 'int s [105][105]' previously declared here
    7 | int n,a[N][N],g[N][N],s[N][N],ans;
      |                       ^
0_0_38778506_12742.cpp:39:15: error: redefinition of 'int ans'
   39 | int n,s[N][N],ans,sum;
      |               ^~~
0_0_38778506_12742.cpp:7:31: note: 'int ans' previously declared here
    7 | int n,a[N][N],g[N][N],s[N][N],ans;
      |                               ^~~
0_0_38778506_12742.cpp:40:5: error: redefinition of 'int main()'
   40 | int main() {
      |     ^~~~
0_0_38778506_12742.cpp:8:5: note: 'int main()' previously defined here
    8 | int main() {
      |     ^~~~
0_0_38778506_12742.cpp: In function 'int main()':
0_0_38778506_12742.cpp:58:5: error: expected primary-expression before '}' token
   58 |     }
      |     ^


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-06-30 11:56:12, Gzip enabled