记录详情

Wrong Answer

foo.cc: In function 'int Search(int, int*, int)':
foo.cc:7:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    7 |     if(a[i]=x)
      |        ~~~~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 5+3=8, expect 1. 9ms 4.125 MiB
#2 Wrong Answer Read 5+3=8, expect 4. 10ms 4.125 MiB
#3 Wrong Answer Read 5+3=8, expect 122. 5ms 4.125 MiB
#4 Wrong Answer Read 5+3=8, expect 1598. 11ms 4.25 MiB
#5 Wrong Answer Read 5+3=8, expect 15180. 11ms 4.125 MiB

信息

递交者
类型
递交
题目
6-1 和为定值的数对
比赛
2022暑期青少年社团(训练赛)
语言
C++
递交时间
2022-08-07 21:44:44
评测时间
2022-08-07 21:44:44
评测机
分数
0
总耗时
48ms
峰值内存
4.25 MiB