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_35661077_24029.cpp:127:5: error: redefinition of 'int m'
 int m,n,t;
     ^
0_0_35661077_24029.cpp:8:5: note: 'int m' previously declared here
 int m,n,t;
     ^
0_0_35661077_24029.cpp:127:7: error: redefinition of 'int n'
 int m,n,t;
       ^
0_0_35661077_24029.cpp:8:7: note: 'int n' previously declared here
 int m,n,t;
       ^
0_0_35661077_24029.cpp:127:9: error: redefinition of 'int t'
 int m,n,t;
         ^
0_0_35661077_24029.cpp:8:9: note: 'int t' previously declared here
 int m,n,t;
         ^
0_0_35661077_24029.cpp:133:11: error: redefinition of 'const int N'
 const int N=1e5+10;
           ^
0_0_35661077_24029.cpp:14:11: note: 'const int N' previously defined here
 const int N=1e5+10;
           ^
0_0_35661077_24029.cpp: In function 'int sign(int)':
0_0_35661077_24029.cpp:135:12: error: redefinition of 'int sign(int)'
 inline int sign(int x){return x> 0?1:0;}
            ^
0_0_35661077_24029.cpp:16:12: note: 'int sign(int)' previously defined here
 inline int sign(int x){return x> 0?1:0;}
            ^
0_0_35661077_24029.cpp: In function 'int dist(int, int)':
0_0_35661077_24029.cpp:136:12: error: redefinition of 'int dist(int, int)'
 inline int dist(int x,int y)
            ^
0_0_35661077_24029.cpp:17:12: note: 'int dist(int, int)' previously defined here
 inline int dist(int x,int y)
            ^
0_0_35661077_24029.cpp: At global scope:
0_0_35661077_24029.cpp:142:12: error: redefinition of 'std::map<std::pair<int, int>, int> Mp'
 map<pi,int>Mp;
            ^
0_0_35661077_24029.cpp:23:12: note: 'std::map<std::pair<int, int>, int> Mp' previously declared here
 map<pi,int>Mp;
            ^
0_0_35661077_24029.cpp:143:8: error: redefinition of 'int dx []'
 int dx[]={1,1,0,-1,-1,0};
        ^
0_0_35661077_24029.cpp:24:5: note: 'int dx [6]' previously defined here
 int dx[]={1,1,0,-1,-1,0};
     ^
0_0_35661077_24029.cpp:144:8: error: redefinition of 'int dy []'
 int dy[]={0,1,1,0,-1,-1};
        ^
0_0_35661077_24029.cpp:25:5: note: 'int dy [6]' previously defined here
 int dy[]={0,1,1,0,-1,-1};
     ^
0_0_35661077_24029.cpp:145:9: error: redefinition of 'int dir []'
 int dir[]={5,4,3,2,1,6};
         ^
0_0_35661077_24029.cpp:26:5: note: 'int dir [6]' previously defined here
 int dir[]={5,4,3,2,1,6};
     ^
0_0_35661077_24029.cpp:146:5: error: redefinition of 'int stand'
 int stand=500;
     ^
0_0_35661077_24029.cpp:27:5: note: 'int stand' previously defined here
 int stand=500;
     ^
0_0_35661077_24029.cpp:147:19: error: redefinition of 'int vis [1010][1010]'
 int vis[1010][1010],num[1010][1010];
                   ^
0_0_35661077_24029.cpp:28:5: note: 'int vis [1010][1010]' previously declared here
 int vis[1010][1010],num[1010][1010];
     ^
0_0_35661077_24029.cpp:147:35: error: redefinition of 'int num [1010][1010]'
 int vis[1010][1010],num[1010][1010];
                                   ^
0_0_35661077_24029.cpp:28:21: note: 'int num [1010][1010]' previously declared here
 int vis[1010][1010],num[1010][1010];
                     ^
0_0_35661077_24029.cpp:148:9: error: redefinition of 'int ok [6]'
 int ok[6];
         ^
0_0_35661077_24029.cpp:29:5: note: 'int ok [6]' previously declared here
 int ok[6];
     ^
0_0_35661077_24029.cpp:149:11: error: redefinition of 'std::stack<int> ans'
 stack<int>ans;
           ^
0_0_35661077_24029.cpp:30:11: note: 'std::stack<int> ans' previously declared here
 stack<int>ans;
           ^
0_0_35661077_24029.cpp: In function 'int f(int)':
0_0_35661077_24029.cpp:150:12: error: redefinition of 'int f(int)'
 inline int f(int x){return 3*x*(x+1);}
            ^
0_0_35661077_24029.cpp:31:12: note: 'int f(int)' previously defined here
 inline int f(int x){return 3*x*(x+1);}
            ^
0_0_35661077_24029.cpp: At global scope:
0_0_35661077_24029.cpp:151:5: error: redefinition of 'int fault'
 int fault;
     ^
0_0_35661077_24029.cpp:32:5: note: 'int fault' previously declared here
 int fault;
     ^
0_0_35661077_24029.cpp:152:5: error: redefinition of 'int dep'
 int dep=0;
     ^
0_0_35661077_24029.cpp:33:5: note: 'int dep' previously defined here
 int dep=0;
     ^
0_0_35661077_24029.cpp: In function 'int dfs(int, int, int)':
0_0_35661077_24029.cpp:153:5: error: redefinition of 'int dfs(int, int, int)'
 int dfs(int x,int y,int index)
     ^
0_0_35661077_24029.cpp:34:5: note: 'int dfs(int, int, int)' previously defined here
 int dfs(int x,int y,int index)
     ^
0_0_35661077_24029.cpp: In function 'int main()':
0_0_35661077_24029.cpp:203:5: error: redefinition of 'int main()'
 int main()
     ^
0_0_35661077_24029.cpp:84: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-09-29 03:34:47, Gzip enabled