Accepted
/in/foo.cc: In function 'int main()':
/in/foo.cc:10:10: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(r4==0&&r100!=0||r400==0)
~~~~~^~~~~~~~~
/in/foo.cc:16:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
/in/foo.cc:24:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
cout<<day;
^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- A1-3 分支结构练习:月份天数
- 比赛
- 2020苏青奥赛集训营(2021-1-3)
- 语言
- C++
- 递交时间
- 2021-01-03 13:37:17
- 评测时间
- 2021-01-03 13:37:17
- 评测机
- 分数
- 100
- 总耗时
- 6ms
- 峰值内存
- 220.0 KiB