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_28333475_16539.cpp:11:11: error: stray '#' in program
 int main()#include<bits/stdc++.h>
           ^
0_0_28333475_16539.cpp:11:12: error: expected initializer before 'include'
 int main()#include<bits/stdc++.h>
            ^
0_0_28333475_16539.cpp:15:11: error: redefinition of 'const int maxn'
 const int maxn=8e4+10;
           ^
0_0_28333475_16539.cpp:6:11: note: 'const int maxn' previously defined here
 const int maxn=8e4+10;
           ^
0_0_28333475_16539.cpp:17:5: error: redefinition of 'int a'
 int a,b,n;
     ^
0_0_28333475_16539.cpp:8:5: note: 'int a' previously declared here
 int a,b,n;
     ^
0_0_28333475_16539.cpp:17:7: error: redefinition of 'int b'
 int a,b,n;
       ^
0_0_28333475_16539.cpp:8:7: note: 'int b' previously declared here
 int a,b,n;
       ^
0_0_28333475_16539.cpp:17:9: error: redefinition of 'int n'
 int a,b,n;
         ^
0_0_28333475_16539.cpp:8:9: note: 'int n' previously declared here
 int a,b,n;
         ^
0_0_28333475_16539.cpp:18:13: error: redefinition of 'char ch [80010]'
 char ch[maxn],st[maxn];
             ^
0_0_28333475_16539.cpp:9:6: note: 'char ch [80010]' previously declared here
 char ch[maxn],st[maxn];
      ^
0_0_28333475_16539.cpp:18:22: error: redefinition of 'char st [80010]'
 char ch[maxn],st[maxn];
                      ^
0_0_28333475_16539.cpp:9:15: note: 'char st [80010]' previously declared here
 char ch[maxn],st[maxn];
               ^
0_0_28333475_16539.cpp:46:1: error: expected unqualified-id before '{' token
 {
 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-18 18:58:24, Gzip enabled