Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:36:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   36 |         if(n1!=0) n1=k+1;k=0;
      |         ^~
/in/foo.cc:36:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   36 |         if(n1!=0) n1=k+1;k=0;
      |                          ^
/in/foo.cc:48:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   48 |         if(n2!=0) n2=k+1;k=0;
      |         ^~
/in/foo.cc:48:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   48 |         if(n2!=0) n2=k+1;k=0;
      |                          ^
/in/foo.cc:58:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   58 |         if(n3!=0) n3=k+1;k=0;
      |         ^~
/in/foo.cc:58:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   58 |         if(n3!=0) n3=k+1;k=0;
      |                          ^
/in/foo.cc:69:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   69 |         if(n!=0) n=k+1;k=0;
      |         ^~
/in/foo.cc:69:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   69 |         if(n!=0) n=k+1;k=0;
      |                        ^
# 状态 耗时 内存占用
#1 Accepted 2ms 476.0 KiB
#2 Accepted 1ms 480.0 KiB
#3 Accepted 2ms 480.0 KiB
#4 Accepted 1ms 544.0 KiB
#5 Wrong Answer 1ms 584.0 KiB
#6 Accepted 2ms 624.0 KiB
#7 Accepted 2ms 632.0 KiB
#8 Accepted 1ms 532.0 KiB
#9 Accepted 1ms 344.0 KiB
#10 Accepted 7ms 720.0 KiB

信息

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