Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:29:21: warning: ‘zhong’ may be used uninitialized [-Wmaybe-uninitialized]
   29 |         cout<<maxn<<zhong<<minn;
      |                     ^~~~~
foo.cc:5:54: note: ‘zhong’ was declared here
    5 |         int n,ge,shi,bai,nt,maxn=-100000,minn=100000,zhong;
      |                                                      ^~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 540.0 KiB
#2 Accepted 3ms 320.0 KiB
#3 Accepted 2ms 536.0 KiB
#4 Accepted 2ms 492.0 KiB
#5 Accepted 2ms 540.0 KiB
#6 Accepted 2ms 324.0 KiB
#7 Wrong Answer Read 441, expect 144. 2ms 320.0 KiB
#8 Wrong Answer Read 554, expect 445. 2ms 536.0 KiB
#9 Wrong Answer Read 732, expect 237. 2ms 536.0 KiB
#10 Wrong Answer Read 431, expect 134. 2ms 496.0 KiB
#11 Wrong Answer Read 553, expect 335. 2ms 320.0 KiB
#12 Wrong Answer Read 993, expect 339. 2ms 536.0 KiB
#13 Wrong Answer Read 332, expect 233. 2ms 324.0 KiB
#14 Wrong Answer Read 971, expect 179. 2ms 536.0 KiB
#15 Wrong Answer Read 876, expect 678. 2ms 320.0 KiB
#16 Wrong Answer Read 870, expect 708. 2ms 536.0 KiB
#17 Wrong Answer Read 810, expect 108. 2ms 536.0 KiB
#18 Wrong Answer Read 982, expect 289. 2ms 764.0 KiB
#19 Wrong Answer Read 210, expect 102. 2ms 320.0 KiB
#20 Accepted 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P2280 数字重排
语言
C++
递交时间
2024-06-29 22:47:40
评测时间
2024-06-29 22:47:40
评测机
分数
35
总耗时
54ms
峰值内存
764.0 KiB