QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#601378#52. Debug1145141145140 15ms10620kbPython311b2024-09-29 22:41:512024-09-29 22:41:51

Details

Tip: Click on the bar to expand more detailed information

Pretests


Final Tests

Test #1:

score: 0
Wrong Answer
time: 10ms
memory: 10456kb

input:

10 7
2 4 1 5 6 3 7
100
0 3
6 8
2 3
6 8
2 7
0 7
3 8
4 6
1 4
0 1
7 8
8 8
7 9
9 9
2 5
2 4
2 3
3 5
4 8
1 9
3 4
7 8
0 9
2 9
1 3
0 5
8 9
1 7
5 7
6 6
1 7
0 8
2 7
0 6
2 4
5 7
0 1
2 6
4 4
4 9
2 8
1 9
4 9
4 9
7 8
4 9
2 7
0 3
2 8
4 5
1 6
3 5
7 7
1 2
5 8
6 6
6 7
4 6
6 8
1 7
2 6
1 9
6 9
7 7
1 2
0 3
0 3
1 4
1 8
3...

output:

12

result:

wrong answer 2nd lines differ - expected: '9', found: ''

Test #2:

score: 0
Wrong Answer
time: 14ms
memory: 10500kb

input:

100 78
19 17 6 3 13 68 45 59 50 22 7 51 77 54 53 60 11 74 21 64 39 58 27 34 76 14 55 78 1 48 73 32 2 12 75 30 40 28 38 9 44 43 71 70 25 69 49 20 65 18 57 62 8 42 24 41 37 72 26 46 23 36 29 16 52 35 5 15 67 66 56 63 10 61 31 33 4 47
1000
66 95
24 57
4 30
54 85
9 52
15 40
0 56
21 44
32 69
82 98
22 44
...

output:

12

result:

wrong answer 1st lines differ - expected: '146', found: '12'

Test #3:

score: 0
Wrong Answer
time: 11ms
memory: 10484kb

input:

10000 2412
613 1405 379 143 707 1588 1304 2028 436 249 2274 1678 767 828 1306 1099 123 1043 2179 535 1469 1556 1092 2163 2152 981 396 1599 590 478 456 2279 417 604 1845 1019 661 272 779 377 1857 2228 782 1075 225 2031 1495 1272 2356 1596 345 2380 954 313 1924 1828 1807 1098 1038 363 1941 1331 787 96...

output:

12

result:

wrong answer 1st lines differ - expected: '6514', found: '12'

Test #4:

score: 0
Wrong Answer
time: 7ms
memory: 10400kb

input:

1000000 100000
26295 72296 31164 47954 65631 38491 70897 7603 97034 7626 5822 45374 70121 80791 29693 98826 72925 17412 99378 19355 53867 2722 48363 2330 95440 76349 96914 68773 55568 50096 18289 68910 18671 10919 48162 63172 75294 2251 33180 40137 40132 37811 59342 37326 2069 34213 13865 89094 7301...

output:

12

result:

wrong answer 1st lines differ - expected: '1389765', found: '12'

Test #5:

score: 0
Wrong Answer
time: 7ms
memory: 10620kb

input:

1000000 10000
67355 2 669126 3 298230 433741 635282 1 3 2 2 3 3 2 545410 799425 417884 22120 899350 822980 2 2 674173 848382 3 851718 27753 655260 2 735544 1639 1 201902 1 2 410581 513533 956919 70600 405014 3 1 2 355744 470395 3 233931 3 1 578720 1 335836 1 3 3 789795 278332 3 2 273862 821677 59497...

output:

12

result:

wrong answer 1st lines differ - expected: '932037073', found: '12'

Test #6:

score: 0
Wrong Answer
time: 14ms
memory: 10616kb

input:

1000000 1000000
429864 1 193453 447524 3 1 3 3 372685 630814 337098 378822 340625 388081 2 1 2 721126 604893 826320 3 3 782419 43330 2 536994 341413 2 2 690634 1 1 2 702223 3 415163 1 1 2 277503 477432 302417 3 753327 799113 912993 3 3 725741 292978 254128 840880 2 1 821185 253888 944491 200183 9169...

output:

12

result:

wrong answer 1st lines differ - expected: '40826370381', found: '12'

Test #7:

score: 0
Wrong Answer
time: 13ms
memory: 10452kb

input:

1000000 50
513076 2 2 684933 1 3 1 155709 3 2 3 911002 853615 2 3 2 3 2 3 2 1 1 1 2 321636 487279 161582 2 3 563180 134608 336524 2 236107 660724 233423 455812 3 694838 3 1 3 921743 1 464384 33080 686439 2 501436 583977
1000000
378531 555916
68764 483058
112823 180622
129874 348574
207090 691811
373...

output:

12

result:

wrong answer 1st lines differ - expected: '2808631', found: '12'

Test #8:

score: 0
Wrong Answer
time: 8ms
memory: 10488kb

input:

100000 100000
1 2 1 1 3 3 3 1 3 1 1 3 1 1 2 1 1 3 3 2 3 3 3 2 2 3 3 3 2 2 2 3 3 1 3 1 1 2 2 2 3 1 1 1 2 1 3 2 3 2 2 3 3 3 1 1 1 2 1 2 3 2 3 1 3 2 1 2 3 1 2 1 2 3 3 3 2 3 3 1 2 1 1 2 1 2 1 3 2 2 1 1 3 3 1 1 1 3 2 2 1 3 2 1 3 3 1 2 3 2 1 2 2 2 1 1 1 1 1 2 2 2 1 2 1 3 2 1 1 3 1 3 3 1 1 2 2 3 3 3 1 3 3 ...

output:

12

result:

wrong answer 1st lines differ - expected: '2641430443', found: '12'

Test #9:

score: 0
Wrong Answer
time: 0ms
memory: 10616kb

input:

100000 100000
57554 481 50839 28767 95369 90126 87978 92396 86982 51330 82883 71521 56932 11323 27254 40358 63965 21947 87339 92210 42531 55688 44715 65354 41922 96095 96745 41904 89543 84735 3497 11548 80223 37408 71508 17358 63443 90637 75695 27545 64492 19307 56772 72006 15095 67083 2621 31594 12...

output:

12

result:

wrong answer 1st lines differ - expected: '60699', found: '12'

Test #10:

score: 0
Wrong Answer
time: 15ms
memory: 10488kb

input:

1000000 1000000
849596 681686 450518 301079 914904 619982 651479 813637 750781 527715 728925 344093 266922 957948 42541 155900 521643 986972 481474 577940 954846 544687 416344 89229 304456 882433 554189 414445 324625 369118 371819 791142 765486 45874 714434 462184 249971 590341 940015 867253 998708 ...

output:

12

result:

wrong answer 1st lines differ - expected: '2239650', found: '12'