记录详情

Compile Error

foo.cc:25:5: error: expected unqualified-id before 'for'
   25 |     for(int i=300;i;){
      |     ^~~
foo.cc:25:19: error: 'i' does not name a type
   25 |     for(int i=300;i;){
      |                   ^
foo.cc:25:21: error: expected unqualified-id before ')' token
   25 |     for(int i=300;i;){
      |                     ^
foo.cc:44:5: error: redefinition of 'int t [301][2]'
   44 | int t[301][2];
      |     ^
foo.cc:3:5: note: 'int t [301][2]' previously declared here
    3 | int t[301][2];
      |     ^
foo.cc:45:5: error: redefinition of 'int main()'
   45 | int main()
      |     ^~~~
foo.cc:4:5: note: 'int main()' previously defined here
    4 | int main()
      |     ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1125 苹果摘陶陶
语言
C++
递交时间
2022-07-31 15:28:51
评测时间
2022-07-31 15:28:51
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes