QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#491981#3123. StoveZhangYiDe20 1ms3964kbC++201.2kb2024-07-26 03:22:032024-07-26 03:22:04

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 20
Accepted

Test #1:

score: 20
Accepted
time: 0ms
memory: 3776kb

input:

10 1
1
3
4
6
8
10
13
14
15
20

output:

20

result:

ok single line: '20'

Test #2:

score: 20
Accepted
time: 0ms
memory: 3580kb

input:

10 3
2
3
6
9
10
11
13
14
17
18

output:

13

result:

ok single line: '13'

Test #3:

score: 20
Accepted
time: 0ms
memory: 3576kb

input:

10 5
1
2
4
6
8
10
13
15
16
19

output:

13

result:

ok single line: '13'

Test #4:

score: 20
Accepted
time: 0ms
memory: 3604kb

input:

10 7
2
3
5
6
9
12
14
17
18
20

output:

10

result:

ok single line: '10'

Test #5:

score: 20
Accepted
time: 0ms
memory: 3536kb

input:

10 10
1
2
4
9
10
12
16
17
19
20

output:

10

result:

ok single line: '10'

Test #6:

score: 20
Accepted
time: 0ms
memory: 3520kb

input:

5 2
2
10
12
16
18

output:

10

result:

ok single line: '10'

Test #7:

score: 20
Accepted
time: 0ms
memory: 3520kb

input:

15 7
1
2
4
5
6
7
8
9
11
13
14
15
18
19
20

output:

15

result:

ok single line: '15'

Test #8:

score: 20
Accepted
time: 0ms
memory: 3636kb

input:

20 10
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

output:

20

result:

ok single line: '20'

Test #9:

score: 20
Accepted
time: 0ms
memory: 3592kb

input:

1 1
16

output:

1

result:

ok single line: '1'

Subtask #2:

score: 0
Wrong Answer

Dependency #1:

100%
Accepted

Test #10:

score: 30
Accepted
time: 1ms
memory: 3964kb

input:

3000 10
281287
559008
897737
1165855
1176623
1203303
1351351
1395676
1427950
1540779
1545598
1797339
1847924
1871114
2018384
2200262
2281567
2573714
2671748
2716023
2770806
2803441
2833757
2890823
3120477
4052715
4317972
4397947
4517738
4991307
5063768
5273007
5496996
5542415
5611925
6091062
6102862...

output:

979775635

result:

ok single line: '979775635'

Test #11:

score: 30
Accepted
time: 1ms
memory: 3616kb

input:

3000 100
55563
335380
547842
678818
973697
1019824
1106863
1242536
1695209
2094602
2245737
2427745
2517312
2803509
3765461
3967121
4740204
4763936
5063988
5083113
5150675
6222272
6518072
6659686
7151478
7154302
7189346
7318005
7478467
8012333
8059867
8157677
8213549
8214825
8236958
8318489
8405079
8...

output:

846744856

result:

ok single line: '846744856'

Test #12:

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

input:

3000 1000
773639
1261923
1348027
1369086
1545610
1956609
2494507
2818939
2887675
3344196
3862081
3981399
4173820
4190443
4625367
4633724
5045960
5268749
5359688
5464860
5533472
5543106
6027957
6488726
6745519
6834238
7142382
7246657
7419141
7425071
7604481
7756876
7837183
8031122
8143072
8443321
898...

output:

289134740

result:

wrong answer 1st lines differ - expected: '289544332', found: '289134740'

Subtask #3:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

0%