Compile Error

foo.cc:28:5: error: redefinition of 'int main()'
   28 | int main()
      |     ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
foo.cc:53:5: error: redefinition of 'int main()'
   53 | int main()
      |     ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
foo.cc:78:5: error: redefinition of 'int main()'
   78 | int main()
      |     ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
foo.cc:103:5: error: redefinition of 'int main()'
  103 | int main()
      |     ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
foo.cc:128:5: error: redefinition of 'int main()'
  128 | int main()
      |     ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
foo.cc:153:5: error: redefinition of 'int main()'
  153 | int main()
      |     ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1048 A7-3 数组的极值下标函数
语言
C++
递交时间
2023-07-26 19:27:02
评测时间
2023-07-26 19:27:02
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes