Accepted
foo.cc: In function 'int main()': foo.cc:7:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 7 | if (a ==1); | ^~ foo.cc:8:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 8 | while(a !=1) | ^~~~~ foo.cc:6:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 6 | scanf("%d",&a); | ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P2371 1.5.21:角谷猜想
- 语言
- C++
- 递交时间
- 2022-01-25 20:57:10
- 评测时间
- 2022-01-25 20:57:10
- 评测机
- 分数
- 100
- 总耗时
- 11ms
- 峰值内存
- 256.0 KiB