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_40039928_22407.cpp:35:2: error: stray '#' in program
   35 | }#include<bits/stdc++.h>
      |  ^
0_0_40039928_22407.cpp:35:3: error: 'include' does not name a type
   35 | }#include<bits/stdc++.h>
      |   ^~~~~~~
0_0_40039928_22407.cpp:38:10: error: redefinition of 'std::bitset<1010> b [1010]'
   38 | bitset<N>b[N],em;
      |          ^
0_0_40039928_22407.cpp:7:10: note: 'std::bitset<1010> b [1010]' previously defined here
    7 | bitset<N>b[N],em;
      |          ^
0_0_40039928_22407.cpp:38:15: error: redefinition of 'std::bitset<1010> em'
   38 | bitset<N>b[N],em;
      |               ^~
0_0_40039928_22407.cpp:7:15: note: 'std::bitset<1010> em' previously defined here
    7 | bitset<N>b[N],em;
      |               ^~
0_0_40039928_22407.cpp:39:5: error: redefinition of 'int c [1010]'
   39 | int c[N],cnt,top[N],n,s[N],ta;double ans=0;
      |     ^
0_0_40039928_22407.cpp:8:5: note: 'int c [1010]' previously declared here
    8 | int c[N],cnt,top[N],n,s[N],ta;double ans=0;
      |     ^
0_0_40039928_22407.cpp:39:10: error: redefinition of 'int cnt'
   39 | int c[N],cnt,top[N],n,s[N],ta;double ans=0;
      |          ^~~
0_0_40039928_22407.cpp:8:10: note: 'int cnt' previously declared here
    8 | int c[N],cnt,top[N],n,s[N],ta;double ans=0;
      |          ^~~
0_0_40039928_22407.cpp:39:14: error: redefinition of 'int top [1010]'
   39 | int c[N],cnt,top[N],n,s[N],ta;double ans=0;
      |              ^~~
0_0_40039928_22407.cpp:8:14: note: 'int top [1010]' previously declared here
    8 | int c[N],cnt,top[N],n,s[N],ta;double ans=0;
      |              ^~~
0_0_40039928_22407.cpp:39:21: error: redefinition of 'int n'
   39 | int c[N],cnt,top[N],n,s[N],ta;double ans=0;
      |                     ^
0_0_40039928_22407.cpp:8:21: note: 'int n' previously declared here
    8 | int c[N],cnt,top[N],n,s[N],ta;double ans=0;
      |                     ^
0_0_40039928_22407.cpp:39:23: error: redefinition of 'int s [1010]'
   39 | int c[N],cnt,top[N],n,s[N],ta;double ans=0;
      |                       ^
0_0_40039928_22407.cpp:8:23: note: 'int s [1010]' previously declared here
    8 | int c[N],cnt,top[N],n,s[N],ta;double ans=0;
      |                       ^
0_0_40039928_22407.cpp:39:28: error: redefinition of 'int ta'
   39 | int c[N],cnt,top[N],n,s[N],ta;double ans=0;
      |                            ^~
0_0_40039928_22407.cpp:8:28: note: 'int ta' previously declared here
    8 | int c[N],cnt,top[N],n,s[N],ta;double ans=0;
      |                            ^~
0_0_40039928_22407.cpp:39:38: error: redefinition of 'double ans'
   39 | int c[N],cnt,top[N],n,s[N],ta;double ans=0;
      |                                      ^~~
0_0_40039928_22407.cpp:8:38: note: 'double ans' previously defined here
    8 | int c[N],cnt,top[N],n,s[N],ta;double ans=0;
      |                                      ^~~
0_0_40039928_22407.cpp:40:5: error: redefinition of 'int main()'
   40 | int main(){
      |     ^~~~
0_0_40039928_22407.cpp:9:5: note: 'int main()' previously defined here
    9 | int main(){
      |     ^~~~


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-04-18 11:43:44, Gzip enabled