Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:19:15: warning: 'maxa' may be used uninitialized [-Wmaybe-uninitialized]
   19 |         cout<<maxa;
      |               ^~~~
/in/foo.cc:5:15: note: 'maxa' was declared here
    5 |         int n,maxa;
      |               ^~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 500.0 KiB
#2 Wrong Answer 2ms 488.0 KiB
#3 Wrong Answer 1ms 532.0 KiB
#4 Wrong Answer 1ms 348.0 KiB
#5 Accepted 2ms 524.0 KiB
#6 Wrong Answer 2ms 532.0 KiB
#7 Accepted 2ms 476.0 KiB
#8 Accepted 3ms 524.0 KiB
#9 Wrong Answer 4ms 536.0 KiB
#10 Accepted 24ms 532.0 KiB

信息

递交者
类型
递交
题目
P2850 数位和2024.12GESP2级T2
语言
C++
递交时间
2025-12-11 20:46:23
评测时间
2025-12-11 20:46:23
评测机
分数
50
总耗时
46ms
峰值内存
536.0 KiB