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_28983412_29707.cpp:38:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_28983412_29707.cpp:38:3: error: 'include' does not name a type
 }#include<bits/stdc++.h>
   ^
0_0_28983412_29707.cpp:40:5: error: redefinition of 'int n'
 int n,id;
     ^
0_0_28983412_29707.cpp:3:5: note: 'int n' previously declared here
 int n,id;
     ^
0_0_28983412_29707.cpp:40:7: error: redefinition of 'int id'
 int n,id;
       ^
0_0_28983412_29707.cpp:3:7: note: 'int id' previously declared here
 int n,id;
       ^
0_0_28983412_29707.cpp:41:10: error: redefinition of 'int a [202]'
 int a[202];
          ^
0_0_28983412_29707.cpp:4:5: note: 'int a [202]' previously declared here
 int a[202];
     ^
0_0_28983412_29707.cpp:42:11: error: redefinition of 'char o [202]'
 char o[202];
           ^
0_0_28983412_29707.cpp:5:6: note: 'char o [202]' previously declared here
 char o[202];
      ^
0_0_28983412_29707.cpp:43:8: error: redefinition of 'double ans'
 double ans;
        ^
0_0_28983412_29707.cpp:6:8: note: 'double ans' previously declared here
 double ans;
        ^
0_0_28983412_29707.cpp:44:13: error: redefinition of 'double p [202]'
 double p[202],dp[2][(1<<20)+1];
             ^
0_0_28983412_29707.cpp:7:8: note: 'double p [202]' previously declared here
 double p[202],dp[2][(1<<20)+1];
        ^
0_0_28983412_29707.cpp:44:30: error: redefinition of 'double dp [2][1048577]'
 double p[202],dp[2][(1<<20)+1];
                              ^
0_0_28983412_29707.cpp:7:15: note: 'double dp [2][1048577]' previously declared here
 double p[202],dp[2][(1<<20)+1];
               ^
0_0_28983412_29707.cpp: In function 'int main()':
0_0_28983412_29707.cpp:45:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_28983412_29707.cpp:8: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 15:05:24, Gzip enabled