/ 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)||(l>type)&&(w>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 216.0 KiB
#2 Wrong Answer 2ms 228.0 KiB
#3 Wrong Answer 2ms 228.0 KiB
#4 Wrong Answer 2ms 224.0 KiB
#5 Wrong Answer 2ms 224.0 KiB
#6 Accepted 23ms 348.0 KiB
#7 Accepted 11ms 220.0 KiB
#8 Accepted 1ms 216.0 KiB
#9 Accepted 1ms 220.0 KiB
#10 Accepted 1ms 216.0 KiB

信息

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