记录详情

Compile Error

foo.cc:56:19: error: redefinition of 'int n'
   56 | int a[1010][1010],n,m,i,j;
      |                   ^
foo.cc:3:18: note: 'int n' previously declared here
    3 | int rc[730][730],n,i,j;
      |                  ^
foo.cc:56:23: error: redefinition of 'int i'
   56 | int a[1010][1010],n,m,i,j;
      |                       ^
foo.cc:3:20: note: 'int i' previously declared here
    3 | int rc[730][730],n,i,j;
      |                    ^
foo.cc:56:25: error: redefinition of 'int j'
   56 | int a[1010][1010],n,m,i,j;
      |                         ^
foo.cc:3:22: note: 'int j' previously declared here
    3 | int rc[730][730],n,i,j;
      |                      ^
foo.cc:57:5: error: redefinition of 'int power(int, int)'
   57 | int power(int a,int b)
      |     ^~~~~
foo.cc:4:5: note: 'int power(int, int)' previously defined here
    4 | int power(int a,int b)//快速幂,虽然可以不用,但是多打一打还是很有益处的。
      |     ^~~~~
foo.cc:69:6: error: redefinition of 'void dg(int, int, int)'
   69 | void dg(int n,int x,int y)
      |      ^~
foo.cc:18:6: note: 'void dg(int, int, int)' previously defined here
   18 | void dg(int n,int x,int y)
      |      ^~
foo.cc:83:5: error: redefinition of 'int main()'
   83 | int main()
      |     ^~~~
foo.cc:33:5: note: 'int main()' previously defined here
   33 | int main()
      |     ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1453 3-16 分形
语言
C++
递交时间
2023-07-06 01:32:42
评测时间
2023-07-06 01:32:42
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes