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_39526410_29857.cpp:74:2: error: stray '#' in program
   74 | }#include <iostream>
      |  ^
0_0_39526410_29857.cpp:74:3: error: 'include' does not name a type
   74 | }#include <iostream>
      |   ^~~~~~~
0_0_39526410_29857.cpp:83:11: error: redefinition of 'const int N'
   83 | const int N=100010;
      |           ^
0_0_39526410_29857.cpp:10:11: note: 'const int N' previously defined here
   10 | const int N=100010;
      |           ^
0_0_39526410_29857.cpp:84:5: error: redefinition of 'int tree [3200320][2]'
   84 | int tree[32*N][2];
      |     ^~~~
0_0_39526410_29857.cpp:11:5: note: 'int tree [3200320][2]' previously declared here
   11 | int tree[32*N][2];
      |     ^~~~
0_0_39526410_29857.cpp:85:5: error: redefinition of 'int val [3200320]'
   85 | int val[32*N];
      |     ^~~
0_0_39526410_29857.cpp:12:5: note: 'int val [3200320]' previously declared here
   12 | int val[32*N];
      |     ^~~
0_0_39526410_29857.cpp:86:5: error: redefinition of 'int idx'
   86 | int idx;
      |     ^~~
0_0_39526410_29857.cpp:13:5: note: 'int idx' previously declared here
   13 | int idx;
      |     ^~~
0_0_39526410_29857.cpp:87:6: error: redefinition of 'void creatTire(int)'
   87 | void creatTire(int a)
      |      ^~~~~~~~~
0_0_39526410_29857.cpp:14:6: note: 'void creatTire(int)' previously defined here
   14 | void creatTire(int a)
      |      ^~~~~~~~~
0_0_39526410_29857.cpp:102:5: error: redefinition of 'int find(int)'
  102 | int find(int a)
      |     ^~~~
0_0_39526410_29857.cpp:29:5: note: 'int find(int)' previously defined here
   29 | int find(int a)
      |     ^~~~
0_0_39526410_29857.cpp:120:5: error: redefinition of 'int n'
  120 | int n,m;
      |     ^
0_0_39526410_29857.cpp:47:5: note: 'int n' previously declared here
   47 | int n,m;
      |     ^
0_0_39526410_29857.cpp:120:7: error: redefinition of 'int m'
  120 | int n,m;
      |       ^
0_0_39526410_29857.cpp:47:7: note: 'int m' previously declared here
   47 | int n,m;
      |       ^
0_0_39526410_29857.cpp:121:5: error: redefinition of 'int main()'
  121 | int main()
      |     ^~~~
0_0_39526410_29857.cpp:48:5: note: 'int main()' previously defined here
   48 | 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-11-16 07:20:53, Gzip enabled