记录详情

Wrong Answer

foo.cc: In function 'int Findmin(int*, int)':
foo.cc:7:24: warning: the omitted middle operand in '?:' will always be 'true', suggest explicit middle operand [-Wparentheses]
    7 |         a[0]=a[0]<a[i]?:a[i];
      |                        ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Wrong Answer Read 1, expect -1. 4ms 284.0 KiB
#3 Accepted 5ms 284.0 KiB
#4 Wrong Answer Read 1, expect -2. 3ms 284.0 KiB
#5 Wrong Answer Read 1, expect -6. 3ms 412.0 KiB

信息

递交者
类型
递交
比赛
2023 程序设计与竞赛(作业4:遗失的日子)
语言
C++
递交时间
2023-10-05 12:17:27
评测时间
2023-10-05 12:17:27
评测机
分数
40
总耗时
21ms
峰值内存
412.0 KiB