QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#518918#9165. Petrol stationsgg_gong8 265ms25756kbC++203.9kb2024-08-14 14:12:492024-08-14 14:12:49

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

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

input:

750 918
159 63 18
573 310 105
135 400 57
618 27 113
41 265 24
99 576 61
242 85 109
490 88 0
626 721 0
407 446 0
78 644 124
346 198 17
541 504 147
543 423 24
302 450 25
397 344 80
129 607 76
474 59 140
30 10 29
375 260 1
404 81 0
658 695 153
450 100 92
532 249 10
597 151 133
739 714 0
212 345 85
558 ...

output:

0
62
45
144
0
0
0
0
0
83
0
0
0
4
48
0
0
111
28
0
1
0
0
0
0
0
62
48
44
12
17
21
0
56
240
0
55
106
30
0
0
0
0
36
0
147
0
8
0
0
22
8
15
0
0
0
0
58
12
2
0
0
22
0
0
0
226
0
51
0
20
63
0
61
0
0
18
8
0
12
0
175
0
0
0
6
120
0
0
18
52
0
0
100
0
0
0
60
0
24
107
57
84
0
0
210
144
153
0
0
42
66
48
18
0
59
0
0
0...

result:

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

Subtask #2:

score: 8
Accepted

Test #13:

score: 8
Accepted
time: 1ms
memory: 6832kb

input:

2 1
0 1 1

output:

0
0

result:

ok 2 lines

Test #14:

score: 8
Accepted
time: 202ms
memory: 19908kb

input:

70000 1
50913 18377 1
33894 11911 1
61940 7863 1
61602 33470 1
26341 35575 1
30813 50301 1
2994 67214 1
38527 61714 1
37381 3396 1
43274 14867 1
59352 12066 1
68877 40750 1
44756 43671 1
57921 17977 1
10879 47719 1
26878 13556 1
27329 23697 1
45109 11513 1
21307 12312 1
27202 27807 1
7250 14810 1
27...

output:

2128187656
1918647796
1539693556
1198079316
2227641388
537651676
1566795636
1713609688
462341800
403913520
1372196836
2449371376
2448661176
226085260
2289814488
2374543080
1462250988
2446901740
2288343736
788226400
1802397916
2219170356
2367201616
130103388
1927347880
2324936140
630135880
1489088716...

result:

ok 70000 lines

Subtask #3:

score: 0
Wrong Answer

Dependency #2:

100%
Accepted

Test #15:

score: 0
Wrong Answer
time: 265ms
memory: 25756kb

input:

70000 517272873
57335 18148 62837135
28239 56484 253183094
23004 59130 129215861
558 17489 52424960
55884 27928 150784869
35390 18538 216587635
31618 4121 168195328
49409 13677 142007449
61001 39616 40892641
67336 21612 185484704
34486 9556 246576628
4933 23924 201603991
57035 5529 29829254
38668 21...

output:

451339
212750590
619469271
222203
1275932
1996948
179120
3180479
1062054
187337
436232
127589426
192574
0
301817907
88620
215639
1174319
-1984
997171570
774148686
343397
424573630
417854
2403973493
289394531
778390269
357478671
704
1149835149
2233140312
0
504504857
630501162
0
888190315
581479
24
18...

result:

wrong answer 1st lines differ - expected: '450859', found: '451339'

Subtask #4:

score: 0
Wrong Answer

Test #17:

score: 0
Wrong Answer
time: 214ms
memory: 18304kb

input:

69973 4
44281 27162 1
15299 61302 1
19250 66379 1
45970 65938 1
23683 4445 2
62232 40589 1
37028 58991 2
58769 32024 0
41860 69672 2
14687 10058 2
7874 6780 2
60579 37047 2
739 4096 2
53137 22114 2
35060 21464 0
42597 11591 2
68051 23473 2
61458 35690 2
38719 6601 2
57406 26025 1
38192 41521 0
47941...

output:

728751
35078
1474506
759638
-840
389864
401864
350155
2856281
-8803
1134784
676995
992703
1
0
679811
1059737
203145
270356
50756
1330179
317324
802350
663502
1106796
586017
591772
486864
489707
1278020
139932
139923
265430
1852421
1405001
421856
424799
0
324811
243184
685013
1110564
466321
867549
16...

result:

wrong answer 1st lines differ - expected: '769608', found: '728751'

Subtask #5:

score: 0
Skipped

Dependency #4:

0%

Subtask #6:

score: 0
Skipped

Dependency #1:

0%