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_38920710_11139.cpp:57:11: error: redefinition of 'const int N'
   57 | const int N = 1e3 + 10;
      |           ^
0_0_38920710_11139.cpp:7:11: note: 'const int N' previously defined here
    7 | const int N = 1e3 + 10;
      |           ^
0_0_38920710_11139.cpp:59:5: error: redefinition of 'int f [110][110][1010]'
   59 | int f[110][110][N];
      |     ^
0_0_38920710_11139.cpp:9:5: note: 'int f [110][110][1010]' previously declared here
    9 | int f[110][110][N];
      |     ^
0_0_38920710_11139.cpp:60:5: error: redefinition of 'int t [1010]'
   60 | int t[N], v[N];
      |     ^
0_0_38920710_11139.cpp:10:5: note: 'int t [1010]' previously declared here
   10 | int t[N], v[N];
      |     ^
0_0_38920710_11139.cpp:60:11: error: redefinition of 'int v [1010]'
   60 | int t[N], v[N];
      |           ^
0_0_38920710_11139.cpp:10:11: note: 'int v [1010]' previously declared here
   10 | int t[N], v[N];
      |           ^
0_0_38920710_11139.cpp:61:5: error: redefinition of 'int main()'
   61 | int main() {
      |     ^~~~
0_0_38920710_11139.cpp:11:5: note: 'int main()' previously defined here
   11 | int main() {
      |     ^~~~
0_0_38920710_11139.cpp:107:4: error: expected unqualified-id before '/' token
  107 |   */
      |    ^


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-09-28 05:33:27, Gzip enabled