QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#539119#7221. The Road Networkucup-team1005#WA 23ms10784kbPython32.2kb2024-08-31 14:03:032024-08-31 14:03:04

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 9ms
memory: 10612kb

input:

4 7
1 4 6 3

output:

3 6

result:

ok 2 number(s): "3 6"

Test #2:

score: 0
Accepted
time: 14ms
memory: 10700kb

input:

4 11
1 4 6 3

output:

0 16

result:

ok 2 number(s): "0 16"

Test #3:

score: 0
Accepted
time: 13ms
memory: 10636kb

input:

4 5
1 4 6 3

output:

4 2

result:

ok 2 number(s): "4 2"

Test #4:

score: 0
Accepted
time: 17ms
memory: 10688kb

input:

10 0
0 0 2 8 7 0 0 9 0 2

output:

25 252

result:

ok 2 number(s): "25 252"

Test #5:

score: 0
Accepted
time: 16ms
memory: 10740kb

input:

10 10
2 7 3 3 4 7 6 8 2 1

output:

14 4

result:

ok 2 number(s): "14 4"

Test #6:

score: 0
Accepted
time: 15ms
memory: 10636kb

input:

10 10
3 1 1 3 7 0 6 10 1 8

output:

13 2

result:

ok 2 number(s): "13 2"

Test #7:

score: 0
Accepted
time: 21ms
memory: 10640kb

input:

10 100
65 51 79 36 2 47 92 30 25 94

output:

18 8

result:

ok 2 number(s): "18 8"

Test #8:

score: 0
Accepted
time: 18ms
memory: 10712kb

input:

10 100
59 23 34 85 86 83 80 59 49 92

output:

25 2

result:

ok 2 number(s): "25 2"

Test #9:

score: 0
Accepted
time: 18ms
memory: 10624kb

input:

10 64
17 29 58 43 58 28 35 32 84 68

output:

24 4

result:

ok 2 number(s): "24 4"

Test #10:

score: 0
Accepted
time: 18ms
memory: 10620kb

input:

10 570
491 0 917 880 817 574 687 271 903 299

output:

25 12

result:

ok 2 number(s): "25 12"

Test #11:

score: 0
Accepted
time: 17ms
memory: 10704kb

input:

10 777
265 15 532 621 674 970 487 852 245 705

output:

22 22

result:

ok 2 number(s): "22 22"

Test #12:

score: 0
Accepted
time: 17ms
memory: 10644kb

input:

10 1000
30 651 139 594 912 125 908 441 589 722

output:

16 60

result:

ok 2 number(s): "16 60"

Test #13:

score: 0
Accepted
time: 21ms
memory: 10528kb

input:

10 100000
20324 80646 41078 4312 99749 91381 17558 72304 34167 97507

output:

21 2

result:

ok 2 number(s): "21 2"

Test #14:

score: 0
Accepted
time: 22ms
memory: 10600kb

input:

10 25965
48515 58580 22596 21971 1958 461 3994 44268 2654 12852

output:

21 6

result:

ok 2 number(s): "21 6"

Test #15:

score: 0
Accepted
time: 18ms
memory: 10712kb

input:

10 100000
87599 60861 68874 90937 4169 60849 90431 40578 71143 87785

output:

20 504

result:

ok 2 number(s): "20 504"

Test #16:

score: 0
Accepted
time: 17ms
memory: 10632kb

input:

10 500000000
416597451 444080196 476404630 331629074 437148184 48965137 213850399 412531610 64886804 460736205

output:

22 2

result:

ok 2 number(s): "22 2"

Test #17:

score: 0
Accepted
time: 21ms
memory: 10608kb

input:

10 500000000
123639683 346161103 249546242 439299419 497828609 120785562 393541902 208320182 480084424 302413299

output:

24 2

result:

ok 2 number(s): "24 2"

Test #18:

score: 0
Accepted
time: 15ms
memory: 10524kb

input:

10 500000000
125649203 248242009 317655142 343970706 58509033 100637758 278266116 414174180 395282044 52122165

output:

12 32

result:

ok 2 number(s): "12 32"

Test #19:

score: 0
Accepted
time: 23ms
memory: 10620kb

input:

10 702707240
911690470 175733148 56419428 571168608 738900064 336169888 480225097 467294240 526974092 487860083

output:

22 2

result:

ok 2 number(s): "22 2"

Test #20:

score: 0
Accepted
time: 14ms
memory: 10700kb

input:

10 1000000000
417518764 104085429 609689921 815038655 245477095 409118727 778061033 949273639 144364084 776426030

output:

18 2

result:

ok 2 number(s): "18 2"

Test #21:

score: 0
Accepted
time: 14ms
memory: 10624kb

input:

10 865525474
964816257 32437710 457927705 353875992 678425200 187100274 412333457 357624109 393157857 138620904

output:

14 2

result:

ok 2 number(s): "14 2"

Test #22:

score: 0
Accepted
time: 15ms
memory: 10772kb

input:

20 6
0 2 4 10 5 6 3 5 4 9 0 5 0 5 1 0 1 1 8 0

output:

76 10

result:

ok 2 number(s): "76 10"

Test #23:

score: 0
Accepted
time: 4ms
memory: 10784kb

input:

20 10
2 7 9 6 7 2 9 7 9 1 9 7 4 4 8 10 3 7 9 10

output:

95 12

result:

ok 2 number(s): "95 12"

Test #24:

score: 0
Accepted
time: 9ms
memory: 10768kb

input:

20 10
0 7 10 2 1 2 6 9 8 4 1 7 5 3 9 1 9 3 7 4

output:

72 6

result:

ok 2 number(s): "72 6"

Test #25:

score: 0
Accepted
time: 14ms
memory: 10736kb

input:

20 25
75 73 66 21 14 65 83 21 58 4 2 33 45 65 2 55 100 97 40 31

output:

100 2002

result:

ok 2 number(s): "100 2002"

Test #26:

score: 0
Accepted
time: 10ms
memory: 10764kb

input:

20 49
0 13 90 69 30 0 39 84 49 71 76 8 85 12 46 20 30 78 25 19

output:

97 2

result:

ok 2 number(s): "97 2"

Test #27:

score: 0
Accepted
time: 14ms
memory: 10680kb

input:

20 97
38 97 13 17 2 46 95 56 84 36 27 40 69 92 1 97 28 25 20 72

output:

74 4

result:

ok 2 number(s): "74 4"

Test #28:

score: -100
Wrong Answer
time: 14ms
memory: 10768kb

input:

20 907
681 764 47 754 775 732 894 649 833 642 725 74 12 558 98 97 534 731 232 126

output:

58 84

result:

wrong answer 2nd numbers differ - expected: '88', found: '84'