Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:34:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   34 |         if(n1!=0) n1=k+1;k=0;
      |         ^~
/in/foo.cc:34:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   34 |         if(n1!=0) n1=k+1;k=0;
      |                          ^
/in/foo.cc:46:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   46 |         if(n2!=0) n2=k+1;k=0;
      |         ^~
/in/foo.cc:46:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   46 |         if(n2!=0) n2=k+1;k=0;
      |                          ^
/in/foo.cc:56:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   56 |         if(n3!=0) n3=k+1;k=0;
      |         ^~
/in/foo.cc:56:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   56 |         if(n3!=0) n3=k+1;k=0;
      |                          ^
/in/foo.cc:67:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   67 |         if(n!=0) n=k+1;k=0;
      |         ^~
/in/foo.cc:67:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   67 |         if(n!=0) n=k+1;k=0;
      |                        ^
# 状态 耗时 内存占用
#1 Accepted 2ms 484.0 KiB
#2 Accepted 1ms 344.0 KiB
#3 Accepted 1ms 344.0 KiB
#4 Accepted 1ms 532.0 KiB
#5 Wrong Answer 1ms 344.0 KiB
#6 Accepted 3ms 580.0 KiB
#7 Accepted 3ms 596.0 KiB
#8 Accepted 1ms 508.0 KiB
#9 Accepted 1ms 532.0 KiB
#10 Accepted 12ms 672.0 KiB

信息

递交者
类型
递交
题目
P3088 学生会提名 pta202211T2
语言
C++
递交时间
2026-11-03 07:59:41
评测时间
2026-11-03 07:59:41
评测机
分数
90
总耗时
32ms
峰值内存
672.0 KiB