Accepted
foo.cc: In function ‘int main()’: foo.cc:7:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 7 | if(a>b&&a>c) | ^~ foo.cc:12:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 12 | if(c>a&&a>b) | ^~ foo.cc:7:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 7 | if(a>b&&a>c) | ^ foo.cc:14:23: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 14 | if(b>a&&b>c) | ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1707 三个数的大小排列
- 语言
- C++
- 递交时间
- 2024-07-05 18:49:53
- 评测时间
- 2024-07-05 18:49:53
- 评测机
- 分数
- 100
- 总耗时
- 12ms
- 峰值内存
- 536.0 KiB