Accepted

foo.cc: In function ‘int main()’:
foo.cc:17:9: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
   17 |         else
      |         ^~~~
foo.cc:19:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
   19 |                 sum=0;
      |                 ^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 536.0 KiB
#2 Accepted 2ms 548.0 KiB
#3 Accepted 3ms 328.0 KiB
#4 Accepted 9ms 536.0 KiB
#5 Accepted 3ms 548.0 KiB
#6 Accepted 41ms 764.0 KiB
#7 Accepted 14ms 536.0 KiB
#8 Accepted 101ms 764.0 KiB
#9 Accepted 138ms 824.0 KiB
#10 Accepted 158ms 1.051 MiB

信息

递交者
类型
递交
题目
P2805 数位之和2级1 2024.9
比赛
2024.10.3秋季中级班练习
语言
C++
递交时间
2024-10-04 13:23:37
评测时间
2024-10-04 13:23:37
评测机
分数
100
总耗时
475ms
峰值内存
1.051 MiB