记录详情

Wrong Answer

foo.cc: In function ‘void FindMaxs(int*, int)’:
foo.cc:7:19: warning: ‘i’ is used uninitialized [-Wuninitialized]
    7 |         if(a[0]>a[i])//头部处理
      |                   ^
foo.cc:6:13: note: ‘i’ was declared here
    6 |         int i;
      |             ^
# 状态 耗时 内存占用
#1 Accepted 2ms 536.0 KiB
#2 Accepted 2ms 556.0 KiB
#3 Wrong Answer Standard answer longer than user output. 3ms 536.0 KiB
#4 Accepted 2ms 540.0 KiB
#5 Wrong Answer Standard answer longer than user output. 2ms 324.0 KiB

信息

递交者
类型
递交
题目
A9-7 数组中所有极大值
语言
C++
递交时间
2024-04-06 10:41:58
评测时间
2024-04-06 10:41:58
评测机
分数
60
总耗时
13ms
峰值内存
556.0 KiB