QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#74874#3871. Voting CitiesMaMengQi0 151ms6996kbC++172.8kb2023-02-04 12:38:112023-02-04 12:38:13

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

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

input:

5000 10000 1
4683
0 715 579327370
0 954 664830350
0 2453 244225980
0 2918 399241150
0 3929 982683290
1 4944 723915200
2 3725 390369490
3 1370 230814450
3 3348 750421430
3 3408 503334040
4 252 852709300
4 989 474431070
4 1013 466847840
4 4956 152207550
5 4162 271201150
6 3335 991911830
6 3596 4382854...

output:

-1019402982

result:

wrong answer 1st lines differ - expected: '7570531610', found: '-1019402982'

Subtask #2:

score: 0
Wrong Answer

Test #6:

score: 0
Wrong Answer
time: 71ms
memory: 5380kb

input:

5000 10000 1
939
0 1074 697931020
0 4334 347738890
1 2400 681303040
2 1685 896587820
2 2368 928896100
2 3133 12276450
2 3258 765661210
4 3606 993201320
5 1081 613705100
5 2339 700470170
5 2625 209307440
5 2832 129029550
7 1517 251821020
7 1751 713428320
7 2308 951691550
7 3980 498317440
7 4014 78197...

output:

1332585164
-1
-48937356
-533309876
85868114
-1803892656
-491361146
78206064
-1
-1
-1493509656
-1
500404544
-54696456
-1
-1
-1
-116320646
1904132330
428650344
-1
-612972306
229096814
2075295834
-1358807566
80140884
-1607251842
-2112019582
386238644
-1
-539527736
-1
-1770531172
-621705526
-1
746787844...

result:

wrong answer 1st lines differ - expected: '5627552460', found: '1332585164'

Subtask #3:

score: 0
Wrong Answer

Test #11:

score: 0
Wrong Answer
time: 79ms
memory: 5168kb

input:

5000 10000 2000
366 1016 3277 5 3742 3640 2511 1725 2168 2349 1037 4972 2930 4374 3504 1098 3439 3970 1952 3474 2664 2097 1751 3679 3155 3266 2070 2016 338 1273 2648 4398 3694 2045 3524 1027 839 1898 1795 1192 2975 1756 4707 1548 4984 1891 2364 123 3181 1096 2970 3264 1628 1295 4852 829 4940 2251 37...

output:

0
0
-1
524672860
0
0
0
206839450
707709240
0
738220490
0
590711250
638089240
0
0
0
0
-2035073826
0
0
1425582250
417331380
1369108520
848243380
568654300
-1
31220760
101654610
0
68502140
0
1923846430
-1
1073048140
0
895045250
0
207461590
-1
562502090
867633840
0
44530950
-1
0
0
0
0
614867560
13039321...

result:

wrong answer 19th lines differ - expected: '2259893470', found: '-2035073826'

Subtask #4:

score: 0
Wrong Answer

Test #16:

score: 5
Accepted
time: 64ms
memory: 6996kb

input:

5000 10000 1
4577
0 248 57534230
0 3020 827662530
0 3190 138424730
1 3154 752916230
4 1256 398736840
5 4116 833556610
5 4127 547494700
6 396 793865570
6 1661 388141660
7 4581 595148940
8 3768 724151300
9 1367 840320860
9 1656 391917460
10 3210 806346090
10 3356 767016610
10 3367 272248610
12 1145 72...

output:

-1

result:

ok single line: '-1'

Test #17:

score: -5
Wrong Answer
time: 8ms
memory: 5156kb

input:

5000 4999 1
1212
0 3971 436288070
1 2759 815489840
2 810 158593560
3 2832 492373670
4 2209 368268770
5 2482 801981570
6 989 201812580
7 4202 350017710
8 2772 560704100
9 2017 156669510
10 4682 92934580
11 3450 514756530
12 3306 895638580
13 4257 871378280
14 1872 922166080
15 1805 346581840
16 1128 ...

output:

-2102035066

result:

wrong answer 1st lines differ - expected: '1612805668230', found: '-2102035066'

Subtask #5:

score: 0
Skipped

Dependency #4:

0%

Subtask #6:

score: 0
Wrong Answer

Test #22:

score: 0
Wrong Answer
time: 151ms
memory: 5256kb

input:

5000 10000 200
1044 1225 1941 2497 4667 2566 3603 92 2261 1826 770 4780 127 4386 1948 2156 1504 4511 3119 4006 4473 389 3469 2670 3989 3092 55 670 4525 4965 1038 375 419 2599 4912 3665 4799 2997 4759 1660 1136 2308 1707 4249 3246 625 3378 52 734 4317 4958 3355 869 3361 2010 2300 2809 2635 2241 3441 ...

output:

-1
-1583784276
697856260
1516782260
-1940047386
-1
480464090
-1
-1597393646
-1
1124944640
1861504690
-1
-1
741307190
-1
-1
976285550
-1442920876
1719694410
-1304232046
-1421579156
1662807060
-2120331028
1457722880
0
1784816420
-1
-1
1055305240
-418381476
-1190267426
-1751707016
953014320
-1
-1
-1
-2...

result:

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

Subtask #7:

score: 0
Wrong Answer

Test #26:

score: 15
Accepted
time: 136ms
memory: 3660kb

input:

100 1000 10
98 30 76 47 68 72 37 62 38 78
0 40 955510110
0 58 380472040
0 67 471726660
0 75 21910230
0 76 203779460
0 79 619337400
0 92 789108960
0 95 850838250
1 7 708430
1 8 800979960
1 24 529606990
1 25 822365030
1 40 803087030
1 75 339182160
1 79 841073850
1 86 249876300
1 92 93708160
2 6 653731...

output:

410099610
386216320
0
233546015
399770707
276108460
524518580
278520060
521727310
450306330
461649420
464823212
386031210
153282630
127385060
0
131407620
178369240
481426810
403923330
311973790
259478290
167906470
345801959
310169200
240099870
56486000
123774050
263065700
433249160
203779460
2717947...

result:

ok 100 lines

Test #27:

score: 0
Accepted
time: 51ms
memory: 3632kb

input:

100 1000 5
56 95 36 60 62
0 3 192396910
0 22 805335870
0 35 399624690
0 47 499610620
0 56 510076020
0 61 324899250
0 74 732506440
0 76 680413950
1 2 235730090
1 3 515640540
1 5 661788560
1 8 443664920
1 16 84209830
1 27 882274860
1 50 504921340
1 56 452206250
1 69 680192960
1 76 67162500
1 80 594724...

output:

483543930
118596430
106636800
146240560
266101930
377031810
152249730
265604350
393673640
388292710
358911790
250019110
227832147
319580670
74227020
89700330
148624010
306053820
302071574
20982620
34191060
312317250
91892820
75343050
191446180
224783520
326265270
165805090
299111710
103355550
222858...

result:

ok 100 lines

Test #28:

score: -15
Wrong Answer
time: 7ms
memory: 3500kb

input:

100 99 2
24 6
0 23 197416360
1 65 653204870
2 48 895802830
3 2 304965120
4 18 155013130
5 20 643250780
6 80 326094400
7 15 613530510
8 7 27830900
9 28 64986310
10 92 452569930
11 43 209666820
12 98 856446580
13 9 585386760
14 37 87758750
15 21 480701780
16 6 229947490
17 0 416482660
18 70 308710360
...

output:

-1489994298
397628006
1974662330
229947490
85585659
557697820
661430075
295764340
-320185688
-1304976616
-845884352
1131144192
-1797751256
2049741792
-1237703049
2030740934
227433368
1941473558
1059016448
748455537
-438570488
-887592274
-2040881682
1411455503
385511424
-1013222829
1519019353
-204340...

result:

wrong answer 1st lines differ - expected: '11394907590', found: '-1489994298'

Subtask #8:

score: 0
Skipped

Dependency #1:

0%