Wrong Answer

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

信息

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