QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#99167#2130. Fiolki 2 [A]LeafSeek0 340ms29228kbC++141.5kb2023-04-21 14:13:522023-04-21 14:13:54

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 1
Accepted
time: 2ms
memory: 5836kb

input:

9 10 2
1 3
1 5
2 5
5 4
5 6
2 6
2 9
2 8
1 5
1 9

output:

1
9
18

result:

ok 3 lines

Test #2:

score: 0
Accepted
time: 3ms
memory: 5756kb

input:

2 1 1
1 2

output:

0
1

result:

ok 2 lines

Test #3:

score: -1
Wrong Answer
time: 1ms
memory: 5808kb

input:

10 30 3
8 5
5 7
4 5
4 8
1 7
3 7
4 7
10 6
1 4
2 7
3 7
3 8
2 4
8 7
3 8
10 4
6 5
3 8
4 5
9 7
2 8
8 9
1 8
5 9
3 4
3 10
1 8
1 8
2 6
10 6

output:

0
6
5
17

result:

wrong answer 2nd lines differ - expected: '7', found: '6'

Subtask #2:

score: 0
Wrong Answer

Test #21:

score: 0
Wrong Answer
time: 1ms
memory: 5940kb

input:

300 1500 15
135 85
20 257
1 68
264 273
33 299
212 67
280 233
155 75
103 26
59 206
29 217
163 84
100 290
172 222
5 220
283 216
242 234
250 89
194 176
141 214
68 64
177 91
142 214
220 90
8 156
186 275
286 209
272 107
69 38
169 31
164 203
125 190
270 37
97 188
51 158
132 211
39 279
62 290
2 246
220 122...

output:

71
360
372
373
397
409
415
486
507
515
660
830
1450
3546
7265
23099

result:

wrong answer 1st lines differ - expected: '21', found: '71'

Subtask #3:

score: 0
Wrong Answer

Test #40:

score: 0
Wrong Answer
time: 5ms
memory: 7104kb

input:

5000 15000 50
1181 1258
4643 84
55 2696
1551 4754
288 991
2926 858
4303 1448
4880 1475
1042 349
3042 628
1375 2853
1365 997
47 4335
2585 1715
4225 1987
867 1285
2144 1193
325 4578
3600 1356
3528 1711
4851 858
3205 2373
3500 801
2499 922
4780 506
587 3251
1730 664
127 2551
4346 656
3538 2694
1065 503...

output:

33678
40103
42610
44293
42345
42759
47218
46929
45818
52244
49834
54424
56756
61526
61150
68610
63991
72351
68674
74143
85242
77297
85088
93736
90997
108589
123844
122130
132868
144536
139315
125359
157291
185468
207595
224310
208711
257091
228548
277704
258712
346113
607128
468015
523696
394173
561...

result:

wrong answer 1st lines differ - expected: '5460', found: '33678'

Subtask #4:

score: 0
Wrong Answer

Test #60:

score: 0
Wrong Answer
time: 267ms
memory: 25096kb

input:

50000 1000000 15
18880 16174
41509 31679
15076 47370
20331 45525
9011 10292
30074 3605
28537 9840
40932 12040
9966 39950
35297 36791
39932 38466
41304 6021
48553 3399
29042 25334
24827 41347
29537 37302
1233 15027
13100 2493
36854 26961
45936 13745
16541 43321
22862 34077
39416 3809
26911 8586
43697...

output:

1385847
1603408
1777522
2039025
2373631
2608948
3045452
3368900
4534000
5262084
7539970
9715430
14824189
18246444
47664378
1123285877

result:

wrong answer 1st lines differ - expected: '5726', found: '1385847'

Subtask #5:

score: 0
Wrong Answer

Test #81:

score: 0
Wrong Answer
time: 144ms
memory: 15704kb

input:

49999 500000 14
8451 9663
47608 35604
43707 49176
30218 12199
33000 6332
21117 37700
22586 49448
48986 4776
44551 21414
35 15791
36760 20522
39131 26292
26361 14373
25816 24129
43807 40898
9232 4733
37022 49437
48377 34456
21357 47546
19303 6932
19479 11761
45024 39091
11275 36126
30296 5456
35217 1...

output:

3543600
3789926
5228029
5707192
6601058
8239346
10472773
12124034
19147824
22679592
25151492
30327795
74778129
213895804
807588511

result:

wrong answer 1st lines differ - expected: '18779', found: '3543600'

Subtask #6:

score: 0
Wrong Answer

Test #102:

score: 0
Wrong Answer
time: 309ms
memory: 25572kb

input:

70000 1000000 30
27533 9943
48960 13744
52910 60232
44875 56836
37462 15774
67781 1878
32722 69261
37166 3079
27820 54868
24963 69502
55515 34942
55875 877
33007 52281
21879 49685
69183 32992
36260 50465
38748 6864
16727 3198
27918 4429
15312 5967
69884 32618
37330 753
16587 24875
2474 7451
56404 30...

output:

2747200
2969534
3157784
3402981
3416415
3890128
3846531
4134104
4531502
4782873
5086584
5581092
5730992
6558269
7155506
7182497
8396861
8741547
10082810
12424471
13481096
15850787
17573816
19068412
22580655
29041931
41443952
69414314
83278045
148781871
1873600875

result:

wrong answer 1st lines differ - expected: '14187', found: '2747200'

Subtask #7:

score: 0
Wrong Answer

Test #128:

score: 0
Wrong Answer
time: 168ms
memory: 17588kb

input:

69999 500000 29
60938 42787
36148 15312
17077 62566
36724 15655
25348 24373
9403 47728
18478 29610
64349 17652
40061 61284
28202 31379
33229 65668
55838 49941
20749 7682
29174 22329
4738 51379
61834 65526
51830 26697
42178 39473
15702 64077
66057 18316
50196 6614
64655 50197
60126 49955
21698 64722
...

output:

4003707
4321607
4672996
5141759
5615247
5900587
5910532
6352534
7524650
7455017
8070299
8245847
8787627
10647286
11076721
12295864
14001555
14704144
17595061
21251012
25715870
27870205
30685753
43224078
52162707
58576109
95807188
87313042
212461072
1630545359

result:

wrong answer 1st lines differ - expected: '38719', found: '4003707'

Subtask #8:

score: 0
Wrong Answer

Test #154:

score: 0
Wrong Answer
time: 340ms
memory: 29228kb

input:

100000 1000000 50
92999 77320
11746 6374
11113 48883
3765 30529
48050 41374
43964 55281
72039 28956
73896 23173
60646 84514
83912 9312
88361 68809
49972 16619
20949 36967
41288 55033
30115 57398
84781 21275
91108 64332
81204 87998
15398 70615
1116 27156
97295 12872
89612 49202
62495 32370
70840 4614...

output:

3637844
3867263
3836916
4177661
4165087
4289619
4494492
4609532
4818135
5059361
4972176
5092245
5667001
5909900
6194266
6278493
6175778
6798150
7186222
7438630
7850683
7847882
8482775
8534385
9287938
10171739
10590227
11052088
11628464
12671329
13373364
14338662
16176317
16084029
18326245
19952892
2...

result:

wrong answer 1st lines differ - expected: '29512', found: '3637844'

Subtask #9:

score: 0
Wrong Answer

Test #180:

score: 0
Wrong Answer
time: 197ms
memory: 17784kb

input:

99999 500000 49
8861 92315
18860 68957
24970 68840
31601 51945
44688 39847
79070 34993
12170 13894
75544 87259
6748 38760
98547 18652
9011 49641
40213 75883
89168 28210
62099 34092
25016 29026
10670 85648
55350 68113
3188 30844
2115 14445
765 9058
71650 23644
77821 96625
56700 12489
15671 31370
5736...

output:

8781887
9611771
9684654
10178912
10690654
10934080
11655222
12002076
11445355
11576774
12027995
12318561
12891438
14438897
14854411
14326448
16808859
16299409
17100085
18010220
17506976
17796643
19968659
21421732
21153610
23404959
25429828
25246274
27457087
25013961
27243096
29761458
32468143
350328...

result:

wrong answer 1st lines differ - expected: '117262', found: '8781887'

Subtask #10:

score: 0
Wrong Answer

Test #206:

score: 0
Wrong Answer
time: 125ms
memory: 14688kb

input:

99998 333333 48
73739 93660
91007 91516
66213 58419
14322 20532
23379 45804
68919 29793
96370 75509
32761 33718
67640 41557
44076 22311
98483 81319
19053 94794
53747 71410
37756 45486
80813 7949
77662 37115
50333 69157
83060 39070
40304 52327
88393 62810
45164 62483
34608 2510
86417 91245
42491 9720...

output:

12543988
13782269
13765348
12609266
14366246
14925435
15293641
16865654
17108333
20269801
20577810
19422598
21160706
22225680
24198233
23596397
22662740
27239154
25238939
29343014
25549026
29092446
31242793
34472413
35709701
38641563
42067588
43712227
44535182
48034007
46155112
53615196
50636909
625...

result:

wrong answer 1st lines differ - expected: '392726', found: '12543988'