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_26215729_10507.cpp:98:2: error: stray '#' in program
 }#include <cstdio>
  ^
0_0_26215729_10507.cpp:98:3: error: 'include' does not name a type
 }#include <cstdio>
   ^
0_0_26215729_10507.cpp:103:11: error: redefinition of 'const int N'
 const int N = 200010;
           ^
0_0_26215729_10507.cpp:6:11: note: 'const int N' previously defined here
 const int N = 200010;
           ^
0_0_26215729_10507.cpp:104:9: error: redefinition of 'char s [200010]'
 char s[N];
         ^
0_0_26215729_10507.cpp:7:6: note: 'char s [200010]' previously declared here
 char s[N];
      ^
0_0_26215729_10507.cpp:106:8: error: redefinition of 'struct SAM'
 struct SAM {
        ^
0_0_26215729_10507.cpp:9:8: error: previous definition of 'struct SAM'
 struct SAM {
        ^
0_0_26215729_10507.cpp:184:6: error: invalid type in declaration before ';' token
 } sam;
      ^
0_0_26215729_10507.cpp:184:6: error: conflicting declaration 'int sam'
0_0_26215729_10507.cpp:87:3: note: previous declaration as 'SAM sam'
 } sam;
   ^
0_0_26215729_10507.cpp:186:5: error: redefinition of 'int T'
 int T;
     ^
0_0_26215729_10507.cpp:89:5: note: 'int T' previously declared here
 int T;
     ^
0_0_26215729_10507.cpp: In function 'int main()':
0_0_26215729_10507.cpp:188:5: error: redefinition of 'int main()'
 int main() {
     ^
0_0_26215729_10507.cpp:91:5: note: 'int main()' previously defined here
 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-30 04:59:45, Gzip enabled