Compile Error

foo.cc: In function 'int main()':
foo.cc:93:6: error: redeclaration of 'int n'
   93 |  int n,i,j,k,m;
      |      ^
foo.cc:39:11: note: 'int n' previously declared here
   39 |     int i,n,k,j,m;
      |           ^
foo.cc:93:8: error: redeclaration of 'int i'
   93 |  int n,i,j,k,m;
      |        ^
foo.cc:39:9: note: 'int i' previously declared here
   39 |     int i,n,k,j,m;
      |         ^
foo.cc:93:10: error: redeclaration of 'int j'
   93 |  int n,i,j,k,m;
      |          ^
foo.cc:39:15: note: 'int j' previously declared here
   39 |     int i,n,k,j,m;
      |               ^
foo.cc:93:12: error: redeclaration of 'int k'
   93 |  int n,i,j,k,m;
      |            ^
foo.cc:39:13: note: 'int k' previously declared here
   39 |     int i,n,k,j,m;
      |             ^
foo.cc:93:14: error: redeclaration of 'int m'
   93 |  int n,i,j,k,m;
      |              ^
foo.cc:39:17: note: 'int m' previously declared here
   39 |     int i,n,k,j,m;
      |                 ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1053 *组成的图形(5)
语言
C++
递交时间
2022-04-03 10:31:07
评测时间
2022-04-03 10:31:07
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes