Compile Error

foo.cc:10:5: error: redefinition of 'int main()'
   10 | int main()
      |     ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
foo.cc:17:5: error: redefinition of 'int main()'
   17 | int main()
      |     ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
foo.cc:24:5: error: redefinition of 'int main()'
   24 | int main()
      |     ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
foo.cc:31:5: error: redefinition of 'int main()'
   31 | int main()
      |     ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1033 任意整数的数字之和。
语言
C++
递交时间
2022-07-09 21:28:32
评测时间
2022-07-09 21:28:32
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes