/ Vijos /

记录详情

Compile Error

foo.cpp:60:13: error: redefinition of 'int a [110001]'
 int a[110001]={0};
             ^
foo.cpp:7:5: error: 'int a [110001]' previously defined here
 int a[110001]={0};
     ^
foo.cpp:61:11: error: redefinition of 'int b [1001]'
 int b[1001]={0};
           ^
foo.cpp:8:5: error: 'int b [1001]' previously defined here
 int b[1001]={0};
     ^
foo.cpp:62:5: error: redefinition of 'int i'
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
     ^
foo.cpp:9:5: error: 'int i' previously declared here
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
     ^
foo.cpp:62:7: error: redefinition of 'int j'
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
       ^
foo.cpp:9:7: error: 'int j' previously declared here
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
       ^
foo.cpp:62:9: error: redefinition of 'int k'
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
         ^
foo.cpp:9:9: error: 'int k' previously declared here
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
         ^
foo.cpp:62:11: error: redefinition of 'int m'
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
           ^
foo.cpp:9:11: error: 'int m' previously declared here
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
           ^
foo.cpp:62:13: error: redefinition of 'int n'
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
             ^
foo.cpp:9:13: error: 'int n' previously declared here
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
             ^
foo.cpp:62:15: error: redefinition of 'int o'
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
               ^
foo.cpp:9:15: error: 'int o' previously declared here
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
               ^
foo.cpp:62:17: error: redefinition of 'int p'
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
                 ^
foo.cpp:9:17: error: 'int p' previously declared here
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
                 ^
foo.cpp:62:19: error: redefinition of 'int s'
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
                   ^
foo.cpp:9:19: error: 'int s' previously declared here
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
                   ^
foo.cpp:62:21: error: redefinition of 'int t'
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
                     ^
foo.cpp:9:21: error: 'int t' previously declared here
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
                     ^
foo.cpp:62:23: error: redefinition of 'int l'
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
                       ^
foo.cpp:9:23: error: 'int l' previously declared here
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
                       ^
foo.cpp:62:25: error: redefinition of 'int maxx'
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
                         ^
foo.cpp:9:25: error: 'int maxx' previously declared here
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
                         ^
foo.cpp:62:30: error: redefinition of 'int js'
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
                              ^
foo.cpp:9:30: error: 'int js' previously declared here
 int i,j,k,m,n,o,p,s,t,l,maxx,js;
                              ^
foo.cpp: In function 'int main()':
foo.cpp:64:5: error: redefinition of 'int main()'
 int main()
     ^
foo.cpp:11:5: error: 'int main()' previously defined here
 int main()
     ^

信息

递交者
类型
递交
题目
P1002 过河
语言
C++
递交时间
2016-07-13 11:05:35
评测时间
2016-07-13 11:05:35
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes