记录详情

Wrong Answer

/in/foo.cc: In function 'int findmincount(int*, int)':
/in/foo.cc:33:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    if (a[i] = min) {
                  ^
/in/foo.cc: In function 'int findmincount1(int*, int)':
/in/foo.cc:51:18: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    if (b[i] = min) {
                  ^
/in/foo.cc: In function 'int findmincount(int*, int)':
/in/foo.cc:38:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int findmincount1(int*, int)':
/in/foo.cc:56:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 204.0 KiB
#2 Wrong Answer 1ms 204.0 KiB
#3 Wrong Answer 1ms 204.0 KiB
#4 Wrong Answer 1ms 204.0 KiB
#5 Wrong Answer 1ms 200.0 KiB

信息

递交者
类型
递交
题目
A9-5 数组中最小值的个数
比赛
中北数据结构课程赛事二:顺序表类的操作
语言
C++
递交时间
2019-03-10 21:27:56
评测时间
2019-03-10 21:27:56
评测机
分数
0
总耗时
8ms
峰值内存
204.0 KiB