Compile Error

foo.cc:30:5: error: redefinition of 'int main()'
   30 | int main()
      |     ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
foo.cc:57:5: error: redefinition of 'int main()'
   57 | int main()
      |     ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
foo.cc:84:5: error: redefinition of 'int main()'
   84 | int main()
      |     ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
foo.cc:111:5: error: redefinition of 'int main()'
  111 | int main()
      |     ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
foo.cc:138:5: error: redefinition of 'int main()'
  138 | int main()
      |     ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
foo.cc:165:5: error: redefinition of 'int main()'
  165 | int main()
      |     ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
foo.cc:192:5: error: redefinition of 'int main()'
  192 | int main()
      |     ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
foo.cc:219:5: error: redefinition of 'int main()'
  219 | int main()
      |     ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
foo.cc:246:5: error: redefinition of 'int main()'
  246 | int main()
      |     ^~~~
foo.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1020 3个数排序
语言
C++
递交时间
2022-04-26 20:10:00
评测时间
2022-04-26 20:10:00
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes