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_37885105_25313.cpp:71:2: error: stray '#' in program
 }#include <bitsdc++.h>
  ^
0_0_37885105_25313.cpp:71:3: error: 'include' does not name a type
 }#include <bitsdc++.h>
   ^
0_0_37885105_25313.cpp:88:11: error: redefinition of 'const int N'
 const int N = 2e5 + 10;
           ^
0_0_37885105_25313.cpp:18:11: note: 'const int N' previously defined here
 const int N = 2e5 + 10;
           ^
0_0_37885105_25313.cpp:90:8: error: redefinition of 'struct ty'
 struct ty {
        ^
0_0_37885105_25313.cpp:20:8: error: previous definition of 'struct ty'
 struct ty {
        ^
0_0_37885105_25313.cpp:92:6: error: invalid type in declaration before ',' token
 }a[N], b[N];
      ^
0_0_37885105_25313.cpp:92:6: error: conflicting declaration 'int a [200010]'
0_0_37885105_25313.cpp:22:2: note: previous declaration as 'ty a [200010]'
 }a[N], b[N];
  ^
0_0_37885105_25313.cpp:92:11: error: conflicting declaration 'int b [200010]'
 }a[N], b[N];
           ^
0_0_37885105_25313.cpp:22:8: note: previous declaration as 'ty b [200010]'
 }a[N], b[N];
        ^
0_0_37885105_25313.cpp:93:11: error: redefinition of 'bool vis [200010]'
 bool vis[N];
           ^
0_0_37885105_25313.cpp:23:6: note: 'bool vis [200010]' previously declared here
 bool vis[N];
      ^
0_0_37885105_25313.cpp: In function 'bool cmp1(ty, ty)':
0_0_37885105_25313.cpp:94:6: error: redefinition of 'bool cmp1(ty, ty)'
 bool cmp1(ty a, ty b) {
      ^
0_0_37885105_25313.cpp:24:6: note: 'bool cmp1(ty, ty)' previously defined here
 bool cmp1(ty a, ty b) {
      ^
0_0_37885105_25313.cpp: In function 'bool cmp2(ty, ty)':
0_0_37885105_25313.cpp:98:6: error: redefinition of 'bool cmp2(ty, ty)'
 bool cmp2(ty a, ty b) {
      ^
0_0_37885105_25313.cpp:28:6: note: 'bool cmp2(ty, ty)' previously defined here
 bool cmp2(ty a, ty b) {
      ^
0_0_37885105_25313.cpp: In function 'void run()':
0_0_37885105_25313.cpp:102:6: error: redefinition of 'void run()'
 void run()
      ^
0_0_37885105_25313.cpp:32:6: note: 'void run()' previously defined here
 void run()
      ^
0_0_37885105_25313.cpp: In function 'int main()':
0_0_37885105_25313.cpp:131:8: error: redefinition of 'int main()'
 signed main()
        ^
0_0_37885105_25313.cpp:61:8: note: 'int main()' previously defined here
 signed 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-03 16:07:21, Gzip enabled