QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#76073#4924. 蜘蛛爬树Henry__Chen0 1834ms143348kbC++204.5kb2023-02-07 14:24:192023-02-07 14:24:22

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 3
Accepted
time: 3ms
memory: 3472kb

input:

97 99 1000
763118300 558295517 80676328 362318619 473105413 468927175 311496507 936935430 176032966 304576040 308583326 681580095 549392233 518152994 829474320 751189715 542810029 587869244 878512027 530678371 832766129 535259635 799122942 596982955 884696876 605325753 495661541 506105495 561218313 ...

output:

6130845802041
10806758605627
3440559556796
5426989115608
4458875959622
1566659300400
7908007295597
1846030561682
5112206409383
6968388472340
4706970599850
5270158948178
4633066810868
3176122148295
2331646415266
961435137842
14353365296423
9675072605938
4256954122467
7333255321628
8376795894537
12319...

result:

ok 1000 lines

Test #2:

score: 0
Accepted
time: 2ms
memory: 3516kb

input:

96 100 1000
31199641 534644486 57980198 794620020 322548308 524438614 467991232 68617179 243820212 229414440 471419229 316085673 271698528 136252783 926625435 615138376 200446739 551914057 483498389 879166147 512229523 45850421 337184110 799426876 46405170 427929494 235848997 861270528 291868400 616...

output:

2436336301732
4467388472930
6498834342013
6450642313333
4049880787954
7509100670176
5831628235154
4150554274586
3112250048344
202594784082
2974050754796
8714737807242
7727115169865
1321297431165
3071603311467
4662413775237
5469193332429
2306749862693
6240860740176
1297819731517
5602374629655
5876108...

result:

ok 1000 lines

Test #3:

score: -3
Wrong Answer
time: 2ms
memory: 3504kb

input:

96 100 1000
557703101 38662752 91559144 406758463 248251717 279124287 667387330 272252891 892434115 281731667 162886140 786660171 350559478 909940602 476034354 78826379 748607300 381191755 708777514 223906483 954905399 405424569 356033791 565979037 5787205 21241249 399771402 280058652 527147793 5875...

output:

82007488946
86777173467
35481695596
11498756054
87983213070
38502672413
33172639202
31451029430
111662176795
31626589074
105218154775
57116127519
14488184465
20368758481
41150521804
57639739744
45269689956
24620398400
51392609182
47597028824
72097558763
13572235163
78364419227
40255815091
1195379951...

result:

wrong answer 1st lines differ - expected: '80606469890', found: '82007488946'

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Wrong Answer

Test #20:

score: 0
Wrong Answer
time: 1834ms
memory: 123164kb

input:

200000 20 200000
679416469 548913625 468159997 137709609 883140368 682558021 473174374 400192350 124143873 825920417 372498686 851213321 822264481 78195915 5427143 453304163 233551905 810910186 810046144 52603791 282167184 385032797 81387991 747194790 917579656 585184539 12659388 249218417 158295502...

output:

920563165
270738856
355012553
363898450
515535908
734168762
81197110
448355845
204186827
966151314
377621564
856252543
311456222
368700872
197258906
567302636
172379629
579171621
1043838058
244996663
621435809
278057792
727965316
573783312
395879848
500677226
891900111
1031612062
771021332
691010101...

result:

wrong answer 23rd lines differ - expected: '727463012', found: '727965316'

Subtask #4:

score: 0
Wrong Answer

Test #28:

score: 0
Wrong Answer
time: 1370ms
memory: 143348kb

input:

200000 1000000000 200000
28270302 472359923 262785485 923929785 393684160 761485431 72038469 116384740 426631758 437934930 610834083 455314140 734276543 903544756 220163018 756113376 732404264 947339315 109784905 625451008 794076307 818852312 758007217 124450858 674924509 311761991 507260538 7032362...

output:

-40327858342707543
39240106357874433
57361093277798662
5920916321376
42344976004078063
-37848090067130382
37317224363778049
12990835887381060
15072069734689880
44724893331413083
-67305876976981989
7524839662229870
-24669390606449649
-30340563747599893
84233965055011044
642755023562
26187652199951023...

result:

wrong answer 1st lines differ - expected: '29294995135992468', found: '-40327858342707543'

Subtask #5:

score: 0
Wrong Answer

Test #36:

score: 0
Wrong Answer
time: 707ms
memory: 93396kb

input:

199918 1000000000 199903
1496 2382 3896 3664 1177 1627 2821 4200 3074 3783 2069 4403 629 2610 4991 4074 3033 2798 4333 3501 3667 3064 663 2821 2818 458 2950 4020 2665 3578 63 4855 4941 3492 2423 4510 1489 1018 4829 1912 3133 3174 309 287 2909 4102 4296 4526 3170 3683 4960 4863 4738 2927 2405 3600 44...

output:

-392069084156082
-448236710646371
1720749032354
499530561637712
1251794543221
1163031205791
53883377866310
1092706694061
1280796559464
162368716375419
603717756242649
-545704390711020
599139862747720
-18879944277397
287434582024
63547709744430
-316808276259332
505585355891662
-283287479894167
533415...

result:

wrong answer 1st lines differ - expected: '1352416884531', found: '-392069084156082'

Subtask #6:

score: 0
Wrong Answer

Test #43:

score: 0
Wrong Answer
time: 1648ms
memory: 123716kb

input:

200000 1000000000 200000
81882094 47220813 43282454 17633207 52769165 4830673 31396360 64793163 9174729 36727563 71268262 24662923 40146030 1430053 62926106 30042905 1330107 81817720 98841078 87766129 51155045 23216268 79896310 66625868 87854925 42976560 86542933 28336449 34932261 19698851 584453 90...

output:

233594480092633
1782403323680
217224698983698
533192817245320
243560396517534
360988821646872
515742391508024
4508895276511
9158418730294
6555182019310
1512894038390
191412811469272
18631117622997
185435503081173
427758001283609
218008704453676
3038244515635
157365167984066
26877943286187
1267281539...

result:

wrong answer 1st lines differ - expected: '516260625003899', found: '233594480092633'

Subtask #7:

score: 0
Skipped

Dependency #1:

0%

Subtask #8:

score: 0
Skipped

Dependency #1:

0%