/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void output(int, int)':
/in/foo.cc:15:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(((w==type||l==type)&&(abs(l-w)>=2)||(w>type)&&(l>type)&&(abs(l-w)==2)))
       ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:29:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(letter[i] == 'E')
   ^~
/in/foo.cc:31:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
      i++;
      ^
# 状态 耗时 内存占用
#1 Accepted 1ms 220.0 KiB
#2 Wrong Answer 2ms 228.0 KiB
#3 Wrong Answer 2ms 224.0 KiB
#4 Wrong Answer 2ms 228.0 KiB
#5 Wrong Answer 4ms 228.0 KiB
#6 Accepted 24ms 348.0 KiB
#7 Accepted 10ms 216.0 KiB
#8 Accepted 1ms 220.0 KiB
#9 Accepted 1ms 212.0 KiB
#10 Accepted 1ms 220.0 KiB

信息

递交者
类型
递交
题目
P1217 乒乓球
语言
C++
递交时间
2021-02-23 17:20:49
评测时间
2021-02-23 17:20:49
评测机
分数
60
总耗时
54ms
峰值内存
348.0 KiB