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_19651974_32473.cpp:54:2: error: stray '#' in program
 }#include<cstdio>
  ^
0_0_19651974_32473.cpp:54:3: error: 'include' does not name a type
 }#include<cstdio>
   ^
0_0_19651974_32473.cpp:58:12: error: redefinition of 'int num [101]'
 int num[101],h,maxf;
            ^
0_0_19651974_32473.cpp:5:5: note: 'int num [101]' previously declared here
 int num[101],h,maxf;
     ^
0_0_19651974_32473.cpp:58:14: error: redefinition of 'int h'
 int num[101],h,maxf;
              ^
0_0_19651974_32473.cpp:5:14: note: 'int h' previously declared here
 int num[101],h,maxf;
              ^
0_0_19651974_32473.cpp:58:16: error: redefinition of 'int maxf'
 int num[101],h,maxf;
                ^
0_0_19651974_32473.cpp:5:16: note: 'int maxf' previously declared here
 int num[101],h,maxf;
                ^
0_0_19651974_32473.cpp:59:17: error: redefinition of 'int dp [101][5000]'
 int dp[101][5000];
                 ^
0_0_19651974_32473.cpp:6:5: note: 'int dp [101][5000]' previously declared here
 int dp[101][5000];
     ^
0_0_19651974_32473.cpp: In function 'int dfs(int, int, bool)':
0_0_19651974_32473.cpp:60:5: error: redefinition of 'int dfs(int, int, bool)'
 int dfs(int dep,int sum,bool flag){
     ^
0_0_19651974_32473.cpp:7:5: note: 'int dfs(int, int, bool)' previously defined here
 int dfs(int dep,int sum,bool flag){
     ^
0_0_19651974_32473.cpp: In function 'int work(int)':
0_0_19651974_32473.cpp:78:5: error: redefinition of 'int work(int)'
 int work(int n)
     ^
0_0_19651974_32473.cpp:25:5: note: 'int work(int)' previously defined here
 int work(int n)
     ^
0_0_19651974_32473.cpp: In function 'int main()':
0_0_19651974_32473.cpp:89:5: error: redefinition of 'int main()'
 int main(){
     ^
0_0_19651974_32473.cpp:36: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-26 08:20:47, Gzip enabled