记录详情

Compile Error

foo.cc:27:35: error: stray '\357' in program
   27 |             cout << now->ID << " ";
      |                                   ^
foo.cc:27:36: error: stray '\274' in program
   27 |             cout << now->ID << " ";
      |                                    ^
foo.cc:27:37: error: stray '\233' in program
   27 |             cout << now->ID << " ";
      |                                     ^
foo.cc: In function 'int main()':
foo.cc:27:35: error: expected ';' before '_Cut'
   27 |             cout << now->ID << " ";
      |                                   ^
      |                                   ;
   28 |             _Cut(now);
      |             ~~~~                   
foo.cc:33:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
   33 |         else
      |         ^~~~
foo.cc:35:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   35 |             now = now->next;
      |             ^~~
foo.cc: At global scope:
foo.cc:38:5: error: expected unqualified-id before 'return'
   38 |     return 0;
      |     ^~~~~~
foo.cc:39:1: error: expected declaration before '}' token
   39 | }
      | ^
[Hydro](https://hydro.ac)提供评测服务

信息

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