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_39622444_22939.cpp:4:21: error: stray '#' in program
    4 | using namespace std;#include<iostream>
      |                     ^
0_0_39622444_22939.cpp:4:22: error: 'include' does not name a type
    4 | using namespace std;#include<iostream>
      |                      ^~~~~~~
0_0_39622444_22939.cpp:46:11: error: redefinition of 'const int N'
   46 | const int N=2e5+5;
      |           ^
0_0_39622444_22939.cpp:9:11: note: 'const int N' previously defined here
    9 | const int N=2e5+5;
      |           ^
0_0_39622444_22939.cpp:47:5: error: redefinition of 'int nxt [200005]'
   47 | int nxt[N];
      |     ^~~
0_0_39622444_22939.cpp:10:5: note: 'int nxt [200005]' previously declared here
   10 | int nxt[N];
      |     ^~~
0_0_39622444_22939.cpp:48:11: error: redefinition of 'const int mod'
   48 | const int mod=10007;
      |           ^~~
0_0_39622444_22939.cpp:11:11: note: 'const int mod' previously defined here
   11 | const int mod=10007;
      |           ^~~
0_0_39622444_22939.cpp:50:6: error: redefinition of 'void solve()'
   50 | void solve()
      |      ^~~~~
0_0_39622444_22939.cpp:13:6: note: 'void solve()' previously defined here
   13 | void solve()
      |      ^~~~~
0_0_39622444_22939.cpp:72:5: error: redefinition of 'int main()'
   72 | int main()
      |     ^~~~
0_0_39622444_22939.cpp:35:5: note: 'int main()' previously defined here
   35 | int main()
      |     ^~~~


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-12-05 03:15:54, Gzip enabled