Accepted
foo.cc: In function ‘int main()’: foo.cc:7:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 7 | for(int i=1;i<=sum;i++) | ^~~ foo.cc:15:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 15 | cout<<x; | ^~~~ foo.cc:5:13: warning: unused variable ‘j’ [-Wunused-variable] 5 | int j,i,x=0,sum; | ^ foo.cc:5:15: warning: unused variable ‘i’ [-Wunused-variable] 5 | int j,i,x=0,sum; | ^
正在同步测试数据,请稍后
信息
- 递交者
- 类型
- 递交
- 题目
- P1098 长方形面积
- 语言
- C++
- 递交时间
- 2024-04-14 14:56:18
- 评测时间
- 2024-04-14 14:56:18
- 评测机
- 分数
- 100
- 总耗时
- 31ms
- 峰值内存
- 764.0 KiB