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_29886487_12367.cpp:38:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_29886487_12367.cpp:38:3: error: 'include' does not name a type
 }#include<bits/stdc++.h>
   ^
0_0_29886487_12367.cpp:41:11: error: redefinition of 'const int maxn'
 const int maxn=3e5+10;
           ^
0_0_29886487_12367.cpp:4:11: note: 'const int maxn' previously defined here
 const int maxn=3e5+10;
           ^
0_0_29886487_12367.cpp:42:8: error: redefinition of 'struct PAM'
 struct PAM{
        ^
0_0_29886487_12367.cpp:5:8: error: previous definition of 'struct PAM'
 struct PAM{
        ^
0_0_29886487_12367.cpp:45:9: error: invalid type in declaration before ';' token
 }q[maxn];
         ^
0_0_29886487_12367.cpp:45:9: error: conflicting declaration 'int q [300010]'
0_0_29886487_12367.cpp:8:2: note: previous declaration as 'PAM q [300010]'
 }q[maxn];
  ^
0_0_29886487_12367.cpp:46:12: error: redefinition of 'char s [300010]'
 char s[maxn];
            ^
0_0_29886487_12367.cpp:9:6: note: 'char s [300010]' previously declared here
 char s[maxn];
      ^
0_0_29886487_12367.cpp:47:5: error: redefinition of 'int n'
 int n,last,tot;
     ^
0_0_29886487_12367.cpp:10:5: note: 'int n' previously declared here
 int n,last,tot;
     ^
0_0_29886487_12367.cpp:47:7: error: redefinition of 'int last'
 int n,last,tot;
       ^
0_0_29886487_12367.cpp:10:7: note: 'int last' previously declared here
 int n,last,tot;
       ^
0_0_29886487_12367.cpp:47:12: error: redefinition of 'int tot'
 int n,last,tot;
            ^
0_0_29886487_12367.cpp:10:12: note: 'int tot' previously declared here
 int n,last,tot;
            ^
0_0_29886487_12367.cpp: In function 'void init()':
0_0_29886487_12367.cpp:48:6: error: redefinition of 'void init()'
 void init(){
      ^
0_0_29886487_12367.cpp:11:6: note: 'void init()' previously defined here
 void init(){
      ^
0_0_29886487_12367.cpp: In function 'int get_fail(int, int)':
0_0_29886487_12367.cpp:51:12: error: redefinition of 'int get_fail(int, int)'
 inline int get_fail(int x,int i){
            ^
0_0_29886487_12367.cpp:14:12: note: 'int get_fail(int, int)' previously defined here
 inline int get_fail(int x,int i){
            ^
0_0_29886487_12367.cpp: In function 'int main()':
0_0_29886487_12367.cpp:55:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_29886487_12367.cpp:18: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-29 22:05:02, Gzip enabled