QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#88222#5659. Watching Cowflixcame11ia29.166667 184ms82884kbC++143.1kb2023-03-15 17:25:582023-03-15 17:25:59

詳細信息

Test #1:

score: 4.16667
Accepted
time: 7ms
memory: 38552kb

input:

5
10001
1 2
2 3
3 4
4 5

output:

4
6
8
9
10

result:

ok 5 number(s): "4 6 8 9 10"

Test #2:

score: 4.16667
Accepted
time: 1ms
memory: 38548kb

input:

7
0001010
7 4
5 6
7 2
5 1
6 3
2 5

output:

4
6
8
9
10
11
12

result:

ok 7 numbers

Test #3:

score: 0
Wrong Answer
time: 4ms
memory: 39412kb

input:

5000
0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000010000000...

output:

728
851
953
1048
1133
1212
1279
1334
1386
1411
1453
1499
1532
1561
1601
1634
1671
1707
1743
1778
1812
1846
1880
1907
1932
1961
1990
2018
2046
2073
2099
2125
2150
2174
2197
2220
2242
2264
2286
2308
2329
2349
2368
2386
2404
2422
2439
2456
2472
2487
2502
2516
2529
2541
2552
2563
2573
2583
2593
2603
261...

result:

wrong answer 1st numbers differ - expected: '711', found: '728'

Test #4:

score: 0
Wrong Answer
time: 12ms
memory: 39500kb

input:

5000
0100000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000...

output:

893
1267
1540
1734
1776
1821
1813
1849
1897
1899
1925
1950
1991
2031
2067
2104
2136
2171
2206
2240
2273
2305
2336
2366
2395
2424
2452
2479
2506
2532
2557
2581
2604
2626
2648
2670
2691
2711
2730
2749
2768
2786
2804
2821
2837
2853
2869
2884
2898
2911
2923
2934
2944
2953
2962
2971
2980
2988
2995
3001
3...

result:

wrong answer 1st numbers differ - expected: '890', found: '893'

Test #5:

score: 0
Wrong Answer
time: 12ms
memory: 39552kb

input:

5000
0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000001000000000000000001000000000000000000000000000000000000000000000000...

output:

804
1041
1227
1352
1468
1539
1607
1654
1689
1685
1687
1704
1738
1754
1790
1826
1861
1895
1928
1960
1992
2024
2056
2088
2119
2150
2181
2211
2241
2270
2298
2325
2351
2376
2401
2425
2448
2471
2493
2515
2536
2556
2575
2594
2612
2629
2645
2660
2674
2688
2701
2713
2724
2734
2743
2751
2759
2766
2772
2777
2...

result:

wrong answer 1st numbers differ - expected: '794', found: '804'

Test #6:

score: 4.16667
Accepted
time: 97ms
memory: 82828kb

input:

200000
01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

30804
41189
48182
51855
52223
52591
52958
53324
53690
54055
54419
54782
55144
55505
55865
56224
56582
56939
57295
57650
58004
58357
58709
59061
59412
59762
60111
60459
60806
61152
61497
61841
62184
62526
62867
63207
63546
63884
64222
64559
64895
65230
65564
65898
66231
66563
66894
67224
67554
67883
...

result:

ok 200000 numbers

Test #7:

score: 4.16667
Accepted
time: 104ms
memory: 82868kb

input:

200000
01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

30644
41023
48123
51892
52268
52643
53017
53390
53763
54135
54506
54876
55245
55613
55980
56346
56712
57077
57441
57804
58166
58528
58889
59249
59608
59966
60323
60679
61034
61388
61741
62093
62445
62796
63146
63495
63843
64190
64536
64881
65225
65568
65910
66251
66591
66931
67270
67608
67945
68281
...

result:

ok 200000 numbers

Test #8:

score: 4.16667
Accepted
time: 102ms
memory: 82884kb

input:

200000
01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

30736
41111
48167
51868
52239
52609
52978
53346
53714
54081
54447
54812
55176
55539
55902
56264
56625
56985
57344
57702
58060
58417
58774
59130
59485
59839
60192
60544
60895
61245
61594
61942
62289
62635
62980
63324
63668
64011
64353
64695
65036
65377
65717
66057
66396
66734
67071
67408
67744
68079
...

result:

ok 200000 numbers

Test #9:

score: 0
Wrong Answer
time: 52ms
memory: 56488kb

input:

100000
01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

12641
15884
15340
16443
17363
18139
18747
19204
19602
19984
20287
20554
20807
21021
21181
21379
21593
21815
22005
22188
22373
22570
22749
22932
23119
23283
23461
23644
23828
24011
24189
24358
24526
24688
24857
25029
25196
25366
25535
25703
25871
26038
26204
26370
26535
26700
26865
27029
27192
27355
...

result:

wrong answer 1st numbers differ - expected: '12231', found: '12641'

Test #10:

score: 0
Wrong Answer
time: 73ms
memory: 56740kb

input:

100000
01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

16071
22802
27619
30243
31094
31093
30767
30435
30229
30090
30032
30087
30181
30286
30451
30645
30825
31004
31188
31367
31551
31736
31920
32099
32281
32462
32642
32821
33000
33178
33355
33531
33706
33880
34053
34225
34396
34566
34735
34904
35073
35242
35410
35578
35745
35912
36078
36243
36408
36573
...

result:

wrong answer 1st numbers differ - expected: '15993', found: '16071'

Test #11:

score: 0
Wrong Answer
time: 66ms
memory: 56424kb

input:

100000
01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

14741
19077
21909
24215
26044
27682
28906
29912
30279
29794
28608
27682
26846
26543
26492
26580
26730
26914
27097
27280
27463
27646
27828
28010
28191
28372
28552
28732
28912
29091
29269
29447
29624
29801
29977
30152
30327
30502
30677
30851
31024
31196
31368
31539
31710
31881
32051
32220
32388
32556
...

result:

wrong answer 1st numbers differ - expected: '14608', found: '14741'

Test #12:

score: 0
Wrong Answer
time: 49ms
memory: 57052kb

input:

100000
01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

12587
14818
15372
16342
17278
18054
18700
19223
19629
20010
20319
20614
20880
21156
21367
21628
21843
22053
22284
22527
22751
22983
23165
23377
23590
23810
24026
24242
24456
24669
24867
25068
25274
25476
25676
25876
26078
26280
26474
26671
26870
27069
27268
27466
27663
27860
28056
28251
28445
28639
...

result:

wrong answer 1st numbers differ - expected: '12198', found: '12587'

Test #13:

score: 0
Wrong Answer
time: 77ms
memory: 56592kb

input:

100000
01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

16130
22908
27681
30370
31177
31162
30876
30476
30368
30329
30263
30320
30389
30503
30680
30857
31021
31211
31401
31594
31781
31971
32155
32343
32530
32716
32902
33087
33271
33455
33638
33820
34001
34181
34361
34540
34718
34895
35071
35246
35421
35595
35769
35943
36117
36290
36462
36633
36803
36972
...

result:

wrong answer 1st numbers differ - expected: '16072', found: '16130'

Test #14:

score: 0
Wrong Answer
time: 64ms
memory: 56584kb

input:

100000
01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

14831
19157
22219
24545
26502
28120
29663
30510
30995
30738
29670
28438
27650
27303
27307
27457
27630
27842
28041
28250
28450
28657
28863
29068
29273
29477
29680
29882
30083
30283
30482
30680
30877
31073
31269
31465
31661
31856
32050
32243
32436
32628
32819
33010
33200
33390
33579
33767
33954
34141
...

result:

wrong answer 1st numbers differ - expected: '14721', found: '14831'

Test #15:

score: 0
Wrong Answer
time: 59ms
memory: 56980kb

input:

100000
01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

12548
15007
15316
16332
17301
18038
18625
19112
19508
19848
20191
20479
20701
20994
21202
21417
21593
21758
21912
22124
22333
22532
22727
22919
23097
23281
23470
23658
23847
24009
24181
24359
24532
24710
24883
25060
25232
25406
25579
25751
25922
26092
26262
26432
26601
26769
26937
27104
27271
27437
...

result:

wrong answer 1st numbers differ - expected: '12121', found: '12548'

Test #16:

score: 0
Wrong Answer
time: 66ms
memory: 56524kb

input:

100000
01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

16212
23034
27922
30533
31403
31330
31010
30584
30375
30235
30221
30280
30418
30559
30707
30847
31040
31214
31398
31582
31768
31953
32137
32320
32502
32677
32856
33034
33212
33389
33566
33743
33920
34096
34272
34447
34621
34794
34966
35137
35308
35479
35649
35818
35986
36153
36319
36484
36648
36811
...

result:

wrong answer 1st numbers differ - expected: '16192', found: '16212'

Test #17:

score: 0
Wrong Answer
time: 76ms
memory: 56632kb

input:

100000
01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

14815
19150
22154
24487
26449
28155
29469
30505
30756
30396
29343
28344
27581
27327
27393
27605
27795
28023
28260
28496
28731
28966
29200
29433
29666
29898
30129
30359
30589
30818
31047
31275
31502
31728
31953
32177
32401
32624
32846
33067
33287
33507
33726
33945
34163
34381
34598
34814
35029
35243
...

result:

wrong answer 1st numbers differ - expected: '14705', found: '14815'

Test #18:

score: 0
Wrong Answer
time: 80ms
memory: 57064kb

input:

100000
01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

12725
15303
15391
16390
17343
18123
18728
19240
19641
19979
20265
20552
20777
21005
21277
21463
21668
21858
22042
22220
22401
22591
22777
22983
23167
23343
23527
23713
23886
24065
24241
24415
24588
24760
24935
25109
25273
25443
25613
25783
25953
26122
26290
26457
26623
26788
26952
27116
27279
27441
...

result:

wrong answer 1st numbers differ - expected: '12282', found: '12725'

Test #19:

score: 4.16667
Accepted
time: 111ms
memory: 53688kb

input:

100000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

6
9
12
15
18
21
24
27
30
33
36
39
42
45
48
51
54
57
60
63
66
69
72
75
78
81
84
87
90
93
96
99
102
105
108
111
114
117
120
123
126
129
132
135
138
141
144
147
150
153
156
159
162
165
168
171
174
177
180
183
186
189
192
195
198
201
204
207
210
213
216
219
222
225
228
231
234
237
240
243
246
249
252
25...

result:

ok 100000 numbers

Test #20:

score: 0
Wrong Answer
time: 156ms
memory: 74396kb

input:

200000
01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

32301
45801
55199
60291
61613
61496
60719
59974
59422
59046
58893
58950
59043
59201
59414
59630
59886
60138
60387
60637
60902
61166
61429
61691
61953
62214
62474
62733
62991
63248
63504
63759
64013
64267
64520
64772
65023
65273
65522
65771
66019
66266
66513
66760
67006
67251
67495
67738
67980
68221
...

result:

wrong answer 1st numbers differ - expected: '32208', found: '32301'

Test #21:

score: 0
Wrong Answer
time: 177ms
memory: 74052kb

input:

200000
01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

29379
38038
43888
48331
51939
54990
57718
59755
60840
60409
58131
55536
53491
52305
51948
52022
52245
52496
52767
53038
53309
53579
53849
54119
54389
54659
54928
55197
55465
55732
55998
56263
56528
56792
57055
57317
57579
57841
58103
58364
58624
58884
59143
59401
59658
59915
60171
60426
60681
60936
...

result:

wrong answer 1st numbers differ - expected: '29187', found: '29379'

Test #22:

score: 0
Wrong Answer
time: 105ms
memory: 75140kb

input:

200000
01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

24961
31303
30173
31917
33652
35044
36098
36995
37792
38433
38968
39417
39831
40180
40516
40806
41136
41445
41739
42047
42353
42627
42878
43174
43428
43721
43991
44262
44530
44796
45067
45325
45581
45836
46101
46365
46629
46887
47149
47410
47671
47931
48190
48449
48707
48965
49222
49478
49734
49989
...

result:

wrong answer 1st numbers differ - expected: '24124', found: '24961'

Test #23:

score: 0
Wrong Answer
time: 159ms
memory: 75392kb

input:

200000
01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

32319
45930
55461
60566
62150
61984
61095
60189
59575
59164
59044
59071
59269
59458
59650
59869
60101
60349
60612
60875
61137
61399
61663
61927
62191
62455
62718
62980
63242
63503
63764
64024
64283
64542
64800
65057
65314
65570
65826
66081
66335
66588
66840
67091
67341
67590
67838
68085
68332
68578
...

result:

wrong answer 1st numbers differ - expected: '32229', found: '32319'

Test #24:

score: 4.16667
Accepted
time: 184ms
memory: 66008kb

input:

200000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

output:

6
9
12
15
18
21
24
27
30
33
36
39
42
45
48
51
54
57
60
63
66
69
72
75
78
81
84
87
90
93
96
99
102
105
108
111
114
117
120
123
126
129
132
135
138
141
144
147
150
153
156
159
162
165
168
171
174
177
180
183
186
189
192
195
198
201
204
207
210
213
216
219
222
225
228
231
234
237
240
243
246
249
252
25...

result:

ok 200000 numbers