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_30325657_10422.cpp:50:2: error: stray '#' in program
 }#include<bits/stdc++.h>
  ^
0_0_30325657_10422.cpp:50:3: error: 'include' does not name a type
 }#include<bits/stdc++.h>
   ^
0_0_30325657_10422.cpp:68:11: error: redefinition of 'const int maxn'
 const int maxn = 1000 + 10;
           ^
0_0_30325657_10422.cpp:19:11: note: 'const int maxn' previously defined here
 const int maxn = 1000 + 10;
           ^
0_0_30325657_10422.cpp:69:8: error: redefinition of 'struct node'
 struct node{
        ^
0_0_30325657_10422.cpp:20:8: error: previous definition of 'struct node'
 struct node{
        ^
0_0_30325657_10422.cpp:77:10: error: invalid type in declaration before ';' token
 }pa[maxn];
          ^
0_0_30325657_10422.cpp:77:10: error: conflicting declaration 'int pa [1010]'
0_0_30325657_10422.cpp:28:2: note: previous declaration as 'node pa [1010]'
 }pa[maxn];
  ^
0_0_30325657_10422.cpp:78:19: error: redefinition of 'double dp [1005][15]'
 double dp[1005][15];
                   ^
0_0_30325657_10422.cpp:29:8: note: 'double dp [1005][15]' previously declared here
 double dp[1005][15];
        ^
0_0_30325657_10422.cpp:79:5: error: redefinition of 'int T'
 int T;
     ^
0_0_30325657_10422.cpp:30:5: note: 'int T' previously declared here
 int T;
     ^
0_0_30325657_10422.cpp: In function 'int main()':
0_0_30325657_10422.cpp:80:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_30325657_10422.cpp:31: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 14:41:24, Gzip enabled