QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#210208#5370. 循环序列slime#20 168ms159692kbC++232.7kb2023-10-11 09:15:252024-07-04 02:18:38

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

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

input:

500
2 1 964005947 1 9909313
2 1 58747697 1 9911851
2 2 356170177 2 9910577
2 2 691057762 1 9905473
2 2 970192721 1 9900101
2 2 646236405 1 9908881
2 1 654587362 2 9908389
2 1 474538670 1 9915751
2 2 825402884 1 9902897
2 1 803555975 2 9908051
2 1 235213848 1 9901189
2 1 166280477 1 9917849
2 1 88428...

output:

9213080
7230396
2703415
8318342
5221331
5909191
9881885
4910831
884347
2051742
8854973
8669990
9392760
5577556
426451
2524900
2077812
9411093
4942612
2409339
1795625
3042679
6407260
4006016
625463
3941378
4447270
4668527
1790741
4518952
8047212
9856248
9586207
3334975
7095436
9010753
1180362
3831805...

result:

wrong answer 1st lines differ - expected: '3538172', found: '9213080'

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 20
Accepted

Test #21:

score: 20
Accepted
time: 129ms
memory: 159624kb

input:

12
1 1 566039 1 9914951
2 1 779314 1 9914951
5 3 644930 4 9914951
10 1 658830 10 9914951
25 12 572446 18 9914951
50 25 531616 31 9914951
59 29 678860 21 9914951
118 5 795057 37 9914951
295 193 536183 6 9914951
590 29 797193 307 9914951
1475 411 519342 228 9914951
2950 1177 705801 2035 9914951

output:

667914
1511733
1300626
649518
5382514
8807825
407266
3463100
8206767
3276649
1642122
5378529

result:

ok 12 lines

Test #22:

score: 0
Accepted
time: 168ms
memory: 159196kb

input:

32
1 1 955632 1 9916297
2 2 627787 2 9916297
3 3 710661 3 9916297
4 4 546497 3 9916297
6 5 983271 3 9916297
8 6 588459 3 9916297
12 2 835548 6 9916297
13 4 933844 11 9916297
24 6 999448 5 9916297
26 14 792916 9 9916297
37 9 584959 25 9916297
39 17 728278 36 9916297
52 42 546558 2 9916297
74 61 58642...

output:

7611975
1993552
8931460
4157850
319124
3574334
307138
754165
4326095
692324
8297801
6260353
5711677
4583416
4512912
1589160
5845526
755320
54972
6279033
8348093
2068851
5569733
9171169
9270914
6854639
9538599
39614
4660324
4963458
4469041
4217219

result:

ok 32 lines

Test #23:

score: 0
Accepted
time: 153ms
memory: 159056kb

input:

28
1 1 609119 1 9908033
2 2 781088 1 9908033
4 2 983177 4 9908033
8 5 816533 2 9908033
16 7 644720 8 9908033
23 19 968553 10 9908033
32 21 978910 4 9908033
46 40 836126 24 9908033
53 13 905113 16 9908033
64 26 697223 38 9908033
92 54 859718 15 9908033
106 74 744212 53 9908033
127 26 911046 121 99080...

output:

6346224
2337104
7153098
6549528
1577669
2557853
1386469
5254054
1787117
3135756
339355
6286012
4410701
533485
3802956
8130831
9760761
6100185
3985269
1835578
8113739
7638251
2167189
8593931
9677144
687279
1684051
1154914

result:

ok 28 lines

Test #24:

score: 0
Accepted
time: 133ms
memory: 159364kb

input:

36
1 1 756487 1 9910909
2 2 585649 2 9910909
3 1 647104 1 9910909
4 3 711172 3 9910909
6 5 569358 6 9910909
7 5 669681 1 9910909
9 9 883518 9 9910909
12 11 949377 6 9910909
14 12 532837 7 9910909
18 1 807222 4 9910909
21 20 671683 3 9910909
28 14 944378 27 9910909
36 32 914289 20 9910909
42 32 89995...

output:

737682
1306938
3519959
6199491
1064598
5915182
1611543
2141337
7551743
7220339
3002385
8659457
2126156
307268
6468876
9251566
5083610
3676552
8634896
1417767
6646112
9141859
8927784
1269941
4410775
7405718
2145223
7173944
6894170
1841006
1491026
9649002
1107300
1922338
4244085
8713104

result:

ok 36 lines

Test #25:

score: 0
Accepted
time: 153ms
memory: 159692kb

input:

24
1 1 863132 1 9909551
2 1 970742 2 9909551
5 4 777404 2 9909551
7 5 562936 2 9909551
10 3 939882 2 9909551
14 12 744646 8 9909551
23 17 548457 12 9909551
25 9 775067 22 9909551
35 21 577889 1 9909551
46 4 865789 13 9909551
50 3 558796 6 9909551
70 8 523365 9 9909551
115 99 668375 77 9909551
161 18...

output:

7790924
7398859
8824226
7066597
4855153
4248735
5307328
5621830
2603075
6733371
7029706
7335647
3847830
9661079
5074543
7368109
4143253
9634267
1428062
9814513
8940660
8638750
6730681
8468219

result:

ok 24 lines

Test #26:

score: 0
Accepted
time: 150ms
memory: 159120kb

input:

20
1 1 765967 1 9906737
2 2 506253 1 9906737
4 4 720158 2 9906737
7 5 600754 5 9906737
8 1 594239 2 9906737
14 1 865061 14 9906737
16 12 741306 4 9906737
28 5 698269 5 9906737
56 17 748929 1 9906737
112 111 853088 71 9906737
197 185 950415 24 9906737
394 206 582496 227 9906737
449 316 789297 435 990...

output:

7707569
1864524
7401009
4092480
7202281
1632659
2331626
8102917
1605803
3456221
6544378
195810
6132630
9411760
2261239
9548848
176696
6817013
8368029
8714495

result:

ok 20 lines

Test #27:

score: 0
Accepted
time: 131ms
memory: 159032kb

input:

24
1 1 980526 1 9902797
2 2 802071 1 9902797
3 2 678688 2 9902797
4 4 695131 2 9902797
6 5 558916 3 9902797
12 12 601406 2 9902797
59 16 951711 54 9902797
71 25 900511 1 9902797
118 101 710349 112 9902797
142 84 906345 42 9902797
177 23 931944 176 9902797
197 126 670344 189 9902797
213 31 513652 23 ...

output:

5591387
1640665
3533252
8867665
1114846
8322565
6896235
9092382
5467527
3039226
7771050
4576451
6926140
6330295
5820260
9559019
9251112
3955165
9547910
7240908
3086826
8146335
22758
8818844

result:

ok 24 lines

Test #28:

score: 0
Accepted
time: 134ms
memory: 159208kb

input:

16
1 1 835040 1 9917279
2 2 892060 2 9917279
7 6 751199 7 9917279
14 13 708589 4 9917279
19 15 961367 11 9917279
23 7 559628 18 9917279
38 28 888240 30 9917279
46 5 831688 27 9917279
133 26 583544 42 9917279
161 36 570723 161 9917279
266 262 589560 114 9917279
322 133 768222 18 9917279
437 238 62936...

output:

9155340
1676226
5779372
2389951
8678962
2001549
3991090
3826548
8107592
1206661
9186706
5153741
3240181
4388883
6576350
266682

result:

ok 16 lines

Test #29:

score: 0
Accepted
time: 135ms
memory: 159092kb

input:

56
1 1 605522 1 9909313
2 1 837048 1 9909313
3 1 816307 2 9909313
4 4 806249 4 9909313
6 4 937599 6 9909313
7 3 956138 3 9909313
8 1 522218 6 9909313
12 11 825827 7 9909313
14 10 624804 9 9909313
16 6 664790 8 9909313
21 15 579018 16 9909313
24 7 789133 5 9909313
28 17 661168 23 9909313
32 17 848288...

output:

7857025
9570592
9355031
8949748
6122202
2202677
1377171
903399
7408357
587533
4137250
397185
67366
4359967
8818061
8216844
9867910
6782875
8396798
6167451
7468762
2820132
6952863
1939165
9003907
3784231
6426299
46783
8103523
988042
3093442
1648690
6808562
1972290
371432
8387642
6159266
1975436
76259...

result:

ok 56 lines

Test #30:

score: 0
Accepted
time: 142ms
memory: 159092kb

input:

40
1 1 677635 1 9909703
2 2 681305 2 9909703
3 2 933838 3 9909703
6 5 937228 1 9909703
9 3 937809 3 9909703
11 8 846752 9 9909703
18 8 663201 5 9909703
22 6 879286 16 9909703
27 26 526752 9 9909703
33 32 648304 10 9909703
54 13 697526 28 9909703
66 17 542244 42 9909703
67 29 904013 62 9909703
81 21 ...

output:

9728535
7981612
4896281
8825510
6533465
2812872
5736833
2714844
2363734
5529301
5199098
3209285
4969417
3121259
9421662
7023493
4130647
3011716
4342213
4097519
7310513
6425545
9391729
1536656
2624789
8388568
1559069
8034660
7946740
444035
3422785
5507296
6971230
2865178
9906564
1089530
5418772
63774...

result:

ok 40 lines

Subtask #4:

score: 0
Skipped

Dependency #1:

0%