记录详情

Wrong Answer

foo.cc: In function 'int FSM(int*, int)':
foo.cc:40:12: warning: 'ans' may be used uninitialized [-Wmaybe-uninitialized]
   40 |     return ans;
      |            ^~~
foo.cc:5:9: note: 'ans' was declared here
    5 |     int ans,maxn = -999999,sec = 0;
      |         ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 3ms 412.0 KiB
#3 Wrong Answer Read -1669865960, expect 2. 4ms 412.0 KiB
#4 Wrong Answer Read 209419800, expect 2. 3ms 412.0 KiB
#5 Wrong Answer Read 4096, expect 2. 3ms 412.0 KiB

信息

递交者
类型
递交
题目
A9-4 数组中第二大的数
比赛
2023 程序设计与竞赛(作业5:从数组看集体)
语言
C++
递交时间
2023-10-21 14:34:45
评测时间
2023-10-21 14:34:45
评测机
分数
40
总耗时
19ms
峰值内存
412.0 KiB