/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:12:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   12 |         if(abs(a[d]-b[d])>=2&&a[d]>=11||abs(a[d]-b[d])>=2&&b[d]>=11){//赢或输
      |            ~~~~~~~~~~~~~~~~~^~~~~~~~~~
foo.cc:26:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   26 |         if(abs(a[d]-b[d])>=2&&a[d]>=21||abs(a[d]-b[d])>=2&&b[d]>=21){//赢或输
      |            ~~~~~~~~~~~~~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 512.0 KiB
#2 Accepted 6ms 384.0 KiB
#3 Accepted 4ms 384.0 KiB
#4 Accepted 6ms 384.0 KiB
#5 Accepted 9ms 384.0 KiB
#6 Accepted 33ms 640.0 KiB
#7 Accepted 16ms 512.0 KiB
#8 Accepted 3ms 512.0 KiB
#9 Accepted 2ms 384.0 KiB
#10 Wrong Answer 1a2 > 0:0 3ms 384.0 KiB

信息

递交者
类型
递交
题目
P1217 乒乓球
语言
C++
递交时间
2022-01-16 14:25:10
评测时间
2022-01-16 14:25:10
评测机
分数
90
总耗时
91ms
峰值内存
640.0 KiB