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_25566081_18935.cpp:102:11: error: redefinition of 'const int inv2'
 const int inv2=500000004;
           ^
0_0_25566081_18935.cpp:8:11: note: 'const int inv2' previously defined here
 const int inv2=500000004;
           ^
0_0_25566081_18935.cpp:103:11: error: redefinition of 'const int INF'
 const int INF=2147483647;
           ^
0_0_25566081_18935.cpp:9:11: note: 'const int INF' previously defined here
 const int INF=2147483647;
           ^
0_0_25566081_18935.cpp:104:11: error: redefinition of 'const int MAX'
 const int MAX=1000010;
           ^
0_0_25566081_18935.cpp:10:11: note: 'const int MAX' previously defined here
 const int MAX=1000010;
           ^
0_0_25566081_18935.cpp:105:11: error: redefinition of 'const int mod'
 const int mod=1e9+7;
           ^
0_0_25566081_18935.cpp:11:11: note: 'const int mod' previously defined here
 const int mod=1e9+7;
           ^
0_0_25566081_18935.cpp:107:5: error: redefinition of 'int V'
 int V,E,M,maxStep;
     ^
0_0_25566081_18935.cpp:13:5: note: 'int V' previously declared here
 int V,E,M,maxStep;
     ^
0_0_25566081_18935.cpp:107:7: error: redefinition of 'int E'
 int V,E,M,maxStep;
       ^
0_0_25566081_18935.cpp:13:7: note: 'int E' previously declared here
 int V,E,M,maxStep;
       ^
0_0_25566081_18935.cpp:107:9: error: redefinition of 'int M'
 int V,E,M,maxStep;
         ^
0_0_25566081_18935.cpp:13:9: note: 'int M' previously declared here
 int V,E,M,maxStep;
         ^
0_0_25566081_18935.cpp:107:11: error: redefinition of 'int maxStep'
 int V,E,M,maxStep;
           ^
0_0_25566081_18935.cpp:13:11: note: 'int maxStep' previously declared here
 int V,E,M,maxStep;
           ^
0_0_25566081_18935.cpp:108:15: error: redefinition of 'int mat [11][11]'
 int mat[11][11];
               ^
0_0_25566081_18935.cpp:14:5: note: 'int mat [11][11]' previously declared here
 int mat[11][11];
     ^
0_0_25566081_18935.cpp:109:13: error: redefinition of 'int visx [100]'
 int visx[100],visy[100];
             ^
0_0_25566081_18935.cpp:15:5: note: 'int visx [100]' previously declared here
 int visx[100],visy[100];
     ^
0_0_25566081_18935.cpp:109:23: error: redefinition of 'int visy [100]'
 int visx[100],visy[100];
                       ^
0_0_25566081_18935.cpp:15:15: note: 'int visy [100]' previously declared here
 int visx[100],visy[100];
               ^
0_0_25566081_18935.cpp:110:10: error: redefinition of 'long long int ans [11]'
 ll ans[11];
          ^
0_0_25566081_18935.cpp:16:4: note: 'long long int ans [11]' previously declared here
 ll ans[11];
    ^
0_0_25566081_18935.cpp: In function 'void println(int*, int, int)':
0_0_25566081_18935.cpp:111:6: error: redefinition of 'void println(int*, int, int)'
 void println(int *arr,int b,int e){//[b,e)
      ^
0_0_25566081_18935.cpp:17:6: note: 'void println(int*, int, int)' previously defined here
 void println(int *arr,int b,int e){//[b,e)
      ^
0_0_25566081_18935.cpp: In function 'long long int dfs(int)':
0_0_25566081_18935.cpp:118:11: error: redefinition of 'long long int dfs(int)'
 inline ll dfs(int step){
           ^
0_0_25566081_18935.cpp:24:11: note: 'long long int dfs(int)' previously defined here
 inline ll dfs(int step){
           ^
0_0_25566081_18935.cpp: In function 'int main(int, char**)':
0_0_25566081_18935.cpp:142:5: error: redefinition of 'int main(int, char**)'
 int main(int argc,char *argv[]){
     ^
0_0_25566081_18935.cpp:48:5: note: 'int main(int, char**)' previously defined here
 int main(int argc,char *argv[]){
     ^


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 16:21:21, Gzip enabled