Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:5:22: warning: unused variable ‘sum’ [-Wunused-variable]
    5 |         int a,n,maxa,sum=0;
      |                      ^~~
# 状态 耗时 内存占用
#1 Wrong Answer On line 1: Read -300, expect -20. 2ms 504.0 KiB
#2 Wrong Answer On line 1: Read -1, expect 20. 2ms 504.0 KiB
#3 Wrong Answer On line 1: Read -2415, expect 32032. 2ms 500.0 KiB
#4 Wrong Answer On line 1: Read -76548, expect 0. 2ms 496.0 KiB
#5 Wrong Answer On line 1: Read -9, expect 8765. 2ms 504.0 KiB
#6 Accepted 2ms 540.0 KiB
#7 Wrong Answer On line 1: Read 11, expect 22. 2ms 504.0 KiB
#8 Wrong Answer On line 1: Read -12345, expect 9999. 2ms 504.0 KiB
#9 Wrong Answer On line 1: Read -19, expect 999. 2ms 504.0 KiB
#10 Wrong Answer On line 1: Read -100, expect 0. 2ms 504.0 KiB

信息

递交者
类型
递交
题目
P1775 求最大数
语言
C++
递交时间
2025-04-03 19:45:48
评测时间
2025-04-03 19:45:48
评测机
分数
10
总耗时
25ms
峰值内存
540.0 KiB