Compile Error
foo.cc: In function 'int main()':
foo.cc:30:9: error: expected ',' or ';' before 'if'
30 | if(a[i] == 0)
| ^~
foo.cc:32:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
32 | if(a[i] == 2)
| ^~
foo.cc:34:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
34 | if(a[i] == 3)
| ^~
foo.cc:26:7: warning: unused variable 'p' [-Wunused-variable]
26 | int p = (i == 0 ? 0 : s2[i - 1]);
| ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- P1036 The Couple Tokens
- 语言
- C++
- 递交时间
- 2022-04-29 19:20:01
- 评测时间
- 2022-04-29 19:20:01
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes