记录详情

Runtime Error

foo.cc: In function 'void max(int, int)':
foo.cc:9:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(a[j]=a[j+1])
      ~~~~^~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 10, expect 8. 2ms 384.0 KiB
#2 Wrong Answer Read 100, expect 2. 1ms 384.0 KiB
#3 Runtime Error Segmentation fault 2ms 384.0 KiB
#4 Wrong Answer Read 10, expect 1. 2ms 384.0 KiB
#5 Wrong Answer Read 98, expect 68. 1ms 384.0 KiB
#6 Runtime Error Segmentation fault 1ms 384.0 KiB
#7 Wrong Answer Read 10, expect 3. 1ms 384.0 KiB
#8 Wrong Answer Read 89, expect 45. 1ms 384.0 KiB
#9 Wrong Answer Read 30, expect 508. 1ms 384.0 KiB
#10 Runtime Error Segmentation fault 1ms 384.0 KiB
#11 Runtime Error Segmentation fault 1ms 384.0 KiB
#12 Runtime Error Segmentation fault 2ms 384.0 KiB
#13 Wrong Answer Read 1, expect 2. 1ms 384.0 KiB
#14 Accepted 2ms 384.0 KiB
#15 Wrong Answer Read 1, expect 2. 1ms 384.0 KiB
#16 Accepted 1ms 384.0 KiB
#17 Wrong Answer Read 250, expect 511. 2ms 384.0 KiB
#18 Runtime Error Segmentation fault 1ms 384.0 KiB
#19 Runtime Error Segmentation fault 2ms 384.0 KiB
#20 Runtime Error Segmentation fault 2ms 384.0 KiB

信息

递交者
类型
递交
题目
排名 (rank.cpp/c/pas)
题目数据
下载
语言
C++
递交时间
2021-08-13 09:58:51
评测时间
2021-08-13 09:58:51
评测机
分数
10
总耗时
40ms
峰值内存
384.0 KiB