记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:37:15: warning: 'ans' may be used uninitialized [-Wmaybe-uninitialized]
   37 |         cout<<ans;
      |               ^~~
foo.cc:33:19: note: 'ans' was declared here
   33 |         int max=0,ans;
      |                   ^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 8. 4ms 412.0 KiB
#2 Wrong Answer Read 0, expect 2. 4ms 412.0 KiB
#3 Accepted 3ms 412.0 KiB
#4 Wrong Answer Read 0, expect 5. 3ms 412.0 KiB
#5 Wrong Answer Read 0, expect 3. 3ms 412.0 KiB

信息

递交者
类型
递交
题目
3-1 整数中的数字
比赛
2023暑期青少年社团(训练赛)
语言
C++
递交时间
2023-08-16 13:59:35
评测时间
2023-08-16 13:59:35
评测机
分数
20
总耗时
19ms
峰值内存
412.0 KiB