记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:8:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
    8 |         for (int j = 0; j < cnt; j++)
      |                         ~~^~~~~
foo.cc:11:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   11 |                 if(a > 0 && b > 0 || a%b != 0)
      |                    ~~~~~~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Floating point exception 3ms 384.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Wrong Answer Read NO, expect YES. 2ms 256.0 KiB
#4 Wrong Answer Read NO, expect YES. 1ms 256.0 KiB
#5 Runtime Error Floating point exception 1ms 384.0 KiB
#6 Runtime Error Floating point exception 2ms 384.0 KiB
#7 Runtime Error Floating point exception 2ms 384.0 KiB
#8 Runtime Error Floating point exception 1ms 384.0 KiB
#9 Runtime Error Floating point exception 2ms 384.0 KiB
#10 Runtime Error Floating point exception 3ms 384.0 KiB
#11 Wrong Answer Read YES, expect YES. 141ms 376.0 KiB
#12 Wrong Answer Read YES, expect YES. 99ms 376.0 KiB
#13 Wrong Answer Read YES, expect YES. 75ms 376.0 KiB
#14 Wrong Answer Read YES, expect YES. 83ms 384.0 KiB
#15 Wrong Answer Read YES, expect YES. 145ms 504.0 KiB
#16 Wrong Answer Read YES, expect YES. 1318ms 1.496 MiB
#17 Wrong Answer Read YES, expect YES. 556ms 760.0 KiB
#18 Wrong Answer Read YES, expect YES. 485ms 888.0 KiB
#19 Wrong Answer Read YES, expect YES. 548ms 760.0 KiB
#20 Wrong Answer Read YES, expect YES. 1347ms 1.754 MiB

信息

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