记录详情

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 -437072360, expect 2. 3ms 412.0 KiB
#4 Wrong Answer Read -289747432, expect 2. 3ms 412.0 KiB
#5 Wrong Answer Read 4096, expect 2. 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P3004 A9-4 数组中第二大的数
语言
C++
递交时间
2023-10-21 20:34:23
评测时间
2023-10-21 20:34:23
评测机
分数
40
总耗时
18ms
峰值内存
412.0 KiB