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_25770039_32015.cpp:36:2: error: stray '#' in program
 }#include <bits/stdc++.h>
  ^
0_0_25770039_32015.cpp:71:2: error: stray '#' in program
 }#include <bits/stdc++.h>
  ^
0_0_25770039_32015.cpp:106:2: error: stray '#' in program
 }#include <bits/stdc++.h>
  ^
0_0_25770039_32015.cpp:36:3: error: 'include' does not name a type
 }#include <bits/stdc++.h>
   ^
0_0_25770039_32015.cpp:38:5: error: redefinition of 'int n'
 int n,m,k;
     ^
0_0_25770039_32015.cpp:3:5: note: 'int n' previously declared here
 int n,m,k;
     ^
0_0_25770039_32015.cpp:38:7: error: redefinition of 'int m'
 int n,m,k;
       ^
0_0_25770039_32015.cpp:3:7: note: 'int m' previously declared here
 int n,m,k;
       ^
0_0_25770039_32015.cpp:38:9: error: redefinition of 'int k'
 int n,m,k;
         ^
0_0_25770039_32015.cpp:3:9: note: 'int k' previously declared here
 int n,m,k;
         ^
0_0_25770039_32015.cpp:39:11: error: redefinition of 'int val [50]'
 int val[50];
           ^
0_0_25770039_32015.cpp:4:5: note: 'int val [50]' previously declared here
 int val[50];
     ^
0_0_25770039_32015.cpp:40:5: error: redefinition of 'int ans'
 int ans;
     ^
0_0_25770039_32015.cpp:5:5: note: 'int ans' previously declared here
 int ans;
     ^
0_0_25770039_32015.cpp: In function 'void dfs(int, int, int)':
0_0_25770039_32015.cpp:41:6: error: redefinition of 'void dfs(int, int, int)'
 void dfs(int i,int j, int w)
      ^
0_0_25770039_32015.cpp:6:6: note: 'void dfs(int, int, int)' previously defined here
 void dfs(int i,int j, int w)
      ^
0_0_25770039_32015.cpp: In function 'int main()':
0_0_25770039_32015.cpp:50:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_25770039_32015.cpp:15:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_25770039_32015.cpp: At global scope:
0_0_25770039_32015.cpp:71:3: error: 'include' does not name a type
 }#include <bits/stdc++.h>
   ^
0_0_25770039_32015.cpp:73:5: error: redefinition of 'int n'
 int n,m,k;
     ^
0_0_25770039_32015.cpp:3:5: note: 'int n' previously declared here
 int n,m,k;
     ^
0_0_25770039_32015.cpp:73:7: error: redefinition of 'int m'
 int n,m,k;
       ^
0_0_25770039_32015.cpp:3:7: note: 'int m' previously declared here
 int n,m,k;
       ^
0_0_25770039_32015.cpp:73:9: error: redefinition of 'int k'
 int n,m,k;
         ^
0_0_25770039_32015.cpp:3:9: note: 'int k' previously declared here
 int n,m,k;
         ^
0_0_25770039_32015.cpp:74:11: error: redefinition of 'int val [50]'
 int val[50];
           ^
0_0_25770039_32015.cpp:4:5: note: 'int val [50]' previously declared here
 int val[50];
     ^
0_0_25770039_32015.cpp:75:5: error: redefinition of 'int ans'
 int ans;
     ^
0_0_25770039_32015.cpp:5:5: note: 'int ans' previously declared here
 int ans;
     ^
0_0_25770039_32015.cpp: In function 'void dfs(int, int, int)':
0_0_25770039_32015.cpp:76:6: error: redefinition of 'void dfs(int, int, int)'
 void dfs(int i,int j, int w)
      ^
0_0_25770039_32015.cpp:6:6: note: 'void dfs(int, int, int)' previously defined here
 void dfs(int i,int j, int w)
      ^
0_0_25770039_32015.cpp: In function 'int main()':
0_0_25770039_32015.cpp:85:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_25770039_32015.cpp:15:5: note: 'int main()' previously defined here
 int main()
     ^
0_0_25770039_32015.cpp: At global scope:
0_0_25770039_32015.cpp:106:3: error: 'include' does not name a type
 }#include <bits/stdc++.h>
   ^
0_0_25770039_32015.cpp:108:5: error: redefinition of 'int n'
 int n,m,k;
     ^
0_0_25770039_32015.cpp:3:5: note: 'int n' previously declared here
 int n,m,k;
     ^
0_0_25770039_32015.cpp:108:7: error: redefinition of 'int m'
 int n,m,k;
       ^
0_0_25770039_32015.cpp:3:7: note: 'int m' previously declared here
 int n,m,k;
       ^
0_0_25770039_32015.cpp:108:9: error: redefinition of 'int k'
 int n,m,k;
         ^
0_0_25770039_32015.cpp:3:9: note: 'int k' previously declared here
 int n,m,k;
         ^
0_0_25770039_32015.cpp:109:11: error: redefinition of 'int val [50]'
 int val[50];
           ^
0_0_25770039_32015.cpp:4:5: note: 'int val [50]' previously declared here
 int val[50];
     ^
0_0_25770039_32015.cpp:110:5: error: redefinition of 'int ans'
 int ans;
     ^
0_0_25770039_32015.cpp:5:5: note: 'int ans' previously declared here
 int ans;
     ^
0_0_25770039_32015.cpp: In function 'void dfs(int, int, int)':
0_0_25770039_32015.cpp:111:6: error: redefinition of 'void dfs(int, int, int)'
 void dfs(int i,int j, int w)
      ^
0_0_25770039_32015.cpp:6:6: note: 'void dfs(int, int, int)' previously defined here
 void dfs(int i,int j, int w)
      ^
0_0_25770039_32015.cpp: In function 'int main()':
0_0_25770039_32015.cpp:120:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_25770039_32015.cpp:15: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-07-03 19:15:51, Gzip enabled