记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:16:64: warning: left shift count >= width of type [-Wshift-count-overflow]
   16 |                         if(( ( (a>0&&b>0) || (a<0&&b<0)) && ((1<<32)-abs(a))%abs(b)==0) || ( ( (a<0&&b>0) || (a>0&&b<0)) && ((1<<32)+abs(a)+1)%abs(b)==0))
      |                                                               ~^~~~
foo.cc:16:128: warning: left shift count >= width of type [-Wshift-count-overflow]
   16 |                         if(( ( (a>0&&b>0) || (a<0&&b<0)) && ((1<<32)-abs(a))%abs(b)==0) || ( ( (a<0&&b>0) || (a>0&&b<0)) && ((1<<32)+abs(a)+1)%abs(b)==0))
      |                                                                                                                               ~^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 384.0 KiB
#2 Wrong Answer Read YES, expect NO. 2ms 256.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Accepted 3ms 256.0 KiB
#5 Accepted 1ms 256.0 KiB
#6 Wrong Answer Read YES, expect YES. 3ms 256.0 KiB
#7 Wrong Answer Read NO, expect YES. 1ms 256.0 KiB
#8 Wrong Answer Read YES, expect YES. 1ms 256.0 KiB
#9 Wrong Answer Read NO, expect YES. 1ms 256.0 KiB
#10 Wrong Answer Read NO, expect YES. 1ms 256.0 KiB
#11 Wrong Answer Read YES, expect YES. 14ms 384.0 KiB
#12 Wrong Answer Read YES, expect YES. 11ms 384.0 KiB
#13 Wrong Answer Read YES, expect YES. 29ms 384.0 KiB
#14 Wrong Answer Read YES, expect YES. 7ms 384.0 KiB
#15 Wrong Answer Read YES, expect YES. 13ms 384.0 KiB
#16 Wrong Answer Read YES, expect YES. 129ms 1.492 MiB
#17 Wrong Answer Read YES, expect YES. 50ms 760.0 KiB
#18 Wrong Answer Read YES, expect YES. 68ms 888.0 KiB
#19 Wrong Answer Read YES, expect YES. 56ms 760.0 KiB
#20 Wrong Answer Read YES, expect YES. 191ms 1.742 MiB

信息

递交者
类型
递交
题目
P1229 A 阅读程序
比赛
2022暑期青少年社团(告别赛)
语言
C++
递交时间
2022-08-21 18:52:55
评测时间
2022-08-21 18:52:55
评测机
分数
20
总耗时
596ms
峰值内存
1.742 MiB