Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:15:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(ans<sum)
   ^~
/in/foo.cc:17:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    sum=0;
    ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 332.0 KiB
#2 Accepted 1ms 356.0 KiB
#3 Accepted 1ms 336.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 1ms 332.0 KiB
#6 Accepted 1ms 324.0 KiB
#7 Wrong Answer 1ms 376.0 KiB
#8 Wrong Answer 1ms 324.0 KiB
#9 Wrong Answer 1ms 332.0 KiB
#10 Wrong Answer 3ms 388.0 KiB

信息

递交者
类型
递交
题目
P2850 数位和2024.12GESP2级T2
语言
C++
递交时间
2024-12-14 09:22:25
评测时间
2024-12-14 09:22:25
评测机
分数
60
总耗时
17ms
峰值内存
388.0 KiB