Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:29:21: warning: ‘zhong’ may be used uninitialized [-Wmaybe-uninitialized]
   29 |         cout<<minn<<zhong<<maxn;
      |                     ^~~~~
foo.cc:5:54: note: ‘zhong’ was declared here
    5 |         int n,ge,shi,bai,nt,maxn=-100000,minn=100000,zhong;
      |                                                      ^~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 536.0 KiB
#2 Accepted 2ms 536.0 KiB
#3 Accepted 3ms 768.0 KiB
#4 Accepted 2ms 324.0 KiB
#5 Accepted 2ms 536.0 KiB
#6 Accepted 2ms 536.0 KiB
#7 Accepted 2ms 324.0 KiB
#8 Wrong Answer Read 455, expect 445. 2ms 320.0 KiB
#9 Accepted 2ms 536.0 KiB
#10 Wrong Answer Read 399, expect 339. 2ms 536.0 KiB
#11 Accepted 2ms 536.0 KiB
#12 Wrong Answer Read 355, expect 335. 2ms 324.0 KiB
#13 Accepted 2ms 536.0 KiB
#14 Accepted 2ms 536.0 KiB
#15 Accepted 2ms 320.0 KiB
#16 Accepted 2ms 320.0 KiB
#17 Wrong Answer Read 078, expect 708. 2ms 536.0 KiB
#18 Wrong Answer Read 018, expect 108. 2ms 536.0 KiB
#19 Wrong Answer Read 001, expect 100. 2ms 320.0 KiB
#20 Wrong Answer Read 012, expect 102. 2ms 764.0 KiB

信息

递交者
类型
递交
题目
P2280 数字重排
语言
C++
递交时间
2024-06-29 22:48:32
评测时间
2024-06-29 22:48:32
评测机
分数
65
总耗时
52ms
峰值内存
768.0 KiB