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 344.0 KiB
#2 Wrong Answer 2ms 504.0 KiB
#3 Accepted 1ms 536.0 KiB
#4 Wrong Answer 1ms 352.0 KiB
#5 Accepted 2ms 484.0 KiB
#6 Wrong Answer 2ms 452.0 KiB
#7 Accepted 2ms 532.0 KiB
#8 Accepted 3ms 536.0 KiB
#9 Accepted 4ms 536.0 KiB
#10 Accepted 25ms 528.0 KiB

信息

递交者
类型
递交
题目
P2850 数位和2024.12GESP2级T2
语言
C++
递交时间
2025-12-13 16:33:02
评测时间
2025-12-13 16:33:02
评测机
分数
70
总耗时
47ms
峰值内存
536.0 KiB