/ 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 3ms 348.0 KiB
#2 Wrong Answer 3ms 332.0 KiB
#3 Wrong Answer 4ms 384.0 KiB
#4 Wrong Answer 4ms 376.0 KiB
#5 Wrong Answer 6ms 384.0 KiB
#6 Accepted 12ms 384.0 KiB
#7 Wrong Answer 17ms 384.0 KiB
#8 Accepted 3ms 352.0 KiB
#9 Accepted 2ms 376.0 KiB
#10 Accepted 3ms 344.0 KiB

信息

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