/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:20:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if((hua1[h1]>=11||dui1[h1]>=11)&&(hua1[h1]-dui1[h1]>1)||(hua1[h1]-dui1[h1]<-1))
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:24:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if((hua2[h2]>=21||dui2[h2]>=21)&&(hua2[h2]-dui2[h2]>1)||(hua2[h2]-dui2[h2]<-1))
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 376.0 KiB
#2 Wrong Answer 3ms 360.0 KiB
#3 Wrong Answer 3ms 368.0 KiB
#4 Wrong Answer 10ms 256.0 KiB
#5 Wrong Answer 5ms 256.0 KiB
#6 Accepted 15ms 360.0 KiB
#7 Wrong Answer 18ms 488.0 KiB
#8 Accepted 4ms 384.0 KiB
#9 Accepted 2ms 380.0 KiB
#10 Accepted 6ms 384.0 KiB

信息

递交者
类型
递交
题目
P1217 乒乓球
语言
C++
递交时间
2018-09-15 21:28:51
评测时间
2018-09-15 21:28:51
评测机
分数
50
总耗时
74ms
峰值内存
488.0 KiB