记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:39:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   39 |         else
      |         ^~~~
foo.cc:41:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   41 |             now = now->next;
      |             ^~~
foo.cc: At global scope:
foo.cc:45:5: error: expected unqualified-id before 'return'
   45 |     return 0;
      |     ^~~~~~
foo.cc:46:1: error: expected declaration before '}' token
   46 | }
      | ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
3-2 约瑟夫问题
语言
C++
递交时间
2022-08-07 21:15:59
评测时间
2022-08-07 21:15:59
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes