记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:41:30: warning: 'z' may be used uninitialized [-Wmaybe-uninitialized]
   41 |                 k = abs(a[j] -z);
      |                         ~~~~~^~
foo.cc:9:39: note: 'z' was declared here
    9 |         int i, j, num = 0, k, min,max,z;
      |                                       ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 390, expect 308. 4ms 412.0 KiB
#2 Wrong Answer Read 622, expect 556. 4ms 332.0 KiB
#3 Accepted 4ms 412.0 KiB
#4 Wrong Answer Read 272, expect 248. 5ms 412.0 KiB
#5 Wrong Answer Read 54, expect 46. 3ms 412.0 KiB
#6 Wrong Answer Read 326, expect 283. 4ms 412.0 KiB
#7 Wrong Answer Read 442, expect 364. 3ms 516.0 KiB
#8 Wrong Answer Read 245, expect 243. 3ms 412.0 KiB
#9 Wrong Answer Read 415, expect 374. 3ms 412.0 KiB
#10 Wrong Answer Read 332, expect 314. 3ms 412.0 KiB
#11 Accepted 3ms 412.0 KiB
#12 Wrong Answer Read 284, expect 255. 4ms 412.0 KiB
#13 Wrong Answer Read 260592, expect 252274. 5ms 412.0 KiB
#14 Wrong Answer Read 429466, expect 405820. 7ms 412.0 KiB
#15 Wrong Answer Read 439264, expect 418608. 7ms 412.0 KiB
#16 Wrong Answer Read 142987, expect 134939. 5ms 412.0 KiB
#17 Wrong Answer Read 608382, expect 587423. 8ms 412.0 KiB
#18 Wrong Answer Read 609895, expect 586505. 9ms 412.0 KiB
#19 Wrong Answer Read 418957, expect 414046. 7ms 412.0 KiB
#20 Wrong Answer Read 669528, expect 622382. 10ms 412.0 KiB

信息

递交者
类型
递交
题目
P1537 Problem 5B. 操作字符串
比赛
2023秋 悬赏令第五周
语言
C++
递交时间
2023-11-07 14:15:27
评测时间
2023-11-07 14:15:27
评测机
分数
10
总耗时
111ms
峰值内存
516.0 KiB