QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#259114#3269. 末日魔法少女计划flower#24.005537 2ms3980kbC++20994b2023-11-20 16:46:252024-07-04 03:07:31

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 22
Accepted

Test #1:

score: 22
Accepted
time: 0ms
memory: 3680kb

input:

2000 2

output:

15974
0 1000
1 1000
2 1000
3 1000
4 1000
5 1000
6 1000
7 1000
8 1000
9 1000
10 1000
11 1000
12 1000
13 1000
14 1000
15 1000
16 1000
17 1000
18 1000
19 1000
20 1000
21 1000
22 1000
23 1000
24 1000
25 1000
26 1000
27 1000
28 1000
29 1000
30 1000
31 1000
32 1000
33 1000
34 1000
35 1000
36 1000
37 1000
...

result:

ok 

Test #2:

score: 22
Accepted
time: 2ms
memory: 3904kb

input:

1999 2

output:

15965
0 999
1 999
2 999
3 999
4 999
5 999
6 999
7 999
8 999
9 999
10 999
11 999
12 999
13 999
14 999
15 999
16 999
17 999
18 999
19 999
20 999
21 999
22 999
23 999
24 999
25 999
26 999
27 999
28 999
29 999
30 999
31 999
32 999
33 999
34 999
35 999
36 999
37 999
38 999
39 999
40 999
41 999
42 999
43 ...

result:

ok 

Test #3:

score: 22
Accepted
time: 2ms
memory: 3744kb

input:

1992 2

output:

15902
0 996
1 996
2 996
3 996
4 996
5 996
6 996
7 996
8 996
9 996
10 996
11 996
12 996
13 996
14 996
15 996
16 996
17 996
18 996
19 996
20 996
21 996
22 996
23 996
24 996
25 996
26 996
27 996
28 996
29 996
30 996
31 996
32 996
33 996
34 996
35 996
36 996
37 996
38 996
39 996
40 996
41 996
42 996
43 ...

result:

ok 

Test #4:

score: 22
Accepted
time: 0ms
memory: 3680kb

input:

1973 2

output:

15731
0 986
1 986
2 986
3 986
4 986
5 986
6 986
7 986
8 986
9 986
10 986
11 986
12 986
13 986
14 986
15 986
16 986
17 986
18 986
19 986
20 986
21 986
22 986
23 986
24 986
25 986
26 986
27 986
28 986
29 986
30 986
31 986
32 986
33 986
34 986
35 986
36 986
37 986
38 986
39 986
40 986
41 986
42 986
43 ...

result:

ok 

Test #5:

score: 22
Accepted
time: 2ms
memory: 3776kb

input:

1936 2

output:

15398
0 968
1 968
2 968
3 968
4 968
5 968
6 968
7 968
8 968
9 968
10 968
11 968
12 968
13 968
14 968
15 968
16 968
17 968
18 968
19 968
20 968
21 968
22 968
23 968
24 968
25 968
26 968
27 968
28 968
29 968
30 968
31 968
32 968
33 968
34 968
35 968
36 968
37 968
38 968
39 968
40 968
41 968
42 968
43 ...

result:

ok 

Subtask #2:

score: 2.00554
Acceptable Answer

Test #6:

score: 2.09713
Acceptable Answer
time: 1ms
memory: 3672kb

input:

1936 3

output:

12703
0 645
1 645
2 645
3 645
4 645
5 645
6 645
7 645
8 645
9 645
10 645
11 645
12 645
13 645
14 645
15 645
16 645
17 645
18 645
19 645
20 645
21 645
22 645
23 645
24 645
25 645
26 645
27 645
28 645
29 645
30 645
31 645
32 645
33 645
34 645
35 645
36 645
37 645
38 645
39 645
40 645
41 645
42 645
43 ...

result:

points 0.14979526720

Test #7:

score: 2.00554
Acceptable Answer
time: 2ms
memory: 3980kb

input:

2000 3

output:

13208
0 666
1 666
2 666
3 666
4 666
5 666
6 666
7 666
8 666
9 666
10 666
11 666
12 666
13 666
14 666
15 666
16 666
17 666
18 666
19 666
20 666
21 666
22 666
23 666
24 666
25 666
26 666
27 666
28 666
29 666
30 666
31 666
32 666
33 666
34 666
35 666
36 666
37 666
38 666
39 666
40 666
41 666
42 666
43 ...

result:

points 0.14325265290

Test #8:

score: 2.00704
Acceptable Answer
time: 2ms
memory: 3744kb

input:

1999 3

output:

13200
0 666
1 666
2 666
3 666
4 666
5 666
6 666
7 666
8 666
9 666
10 666
11 666
12 666
13 666
14 666
15 666
16 666
17 666
18 666
19 666
20 666
21 666
22 666
23 666
24 666
25 666
26 666
27 666
28 666
29 666
30 666
31 666
32 666
33 666
34 666
35 666
36 666
37 666
38 666
39 666
40 666
41 666
42 666
43 ...

result:

points 0.14335967240

Test #9:

score: 2.01541
Acceptable Answer
time: 2ms
memory: 3672kb

input:

1992 3

output:

13146
0 664
1 664
2 664
3 664
4 664
5 664
6 664
7 664
8 664
9 664
10 664
11 664
12 664
13 664
14 664
15 664
16 664
17 664
18 664
19 664
20 664
21 664
22 664
23 664
24 664
25 664
26 664
27 664
28 664
29 664
30 664
31 664
32 664
33 664
34 664
35 664
36 664
37 664
38 664
39 664
40 664
41 664
42 664
43 ...

result:

points 0.14395820220

Test #10:

score: 2.03678
Acceptable Answer
time: 1ms
memory: 3776kb

input:

1973 3

output:

13001
0 657
1 657
2 657
3 657
4 657
5 657
6 657
7 657
8 657
9 657
10 657
11 657
12 657
13 657
14 657
15 657
16 657
17 657
18 657
19 657
20 657
21 657
22 657
23 657
24 657
25 657
26 657
27 657
28 657
29 657
30 657
31 657
32 657
33 657
34 657
35 657
36 657
37 657
38 657
39 657
40 657
41 657
42 657
43 ...

result:

points 0.14548397830

Subtask #3:

score: 0
Wrong Answer

Test #11:

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

input:

2000 4

output:

11528
0 500
1 500
2 500
3 500
4 500
5 500
6 500
7 500
8 500
9 500
10 500
11 500
12 500
13 500
14 500
15 500
16 500
17 500
18 500
19 500
20 500
21 500
22 500
23 500
24 500
25 500
26 500
27 500
28 500
29 500
30 500
31 500
32 500
33 500
34 500
35 500
36 500
37 500
38 500
39 500
40 500
41 500
42 500
43 ...

result:

wrong answer 

Subtask #4:

score: 0
Wrong Answer

Test #16:

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

input:

2000 5

output:

10656
0 400
1 400
2 400
3 400
4 400
5 400
6 400
7 400
8 400
9 400
10 400
11 400
12 400
13 400
14 400
15 400
16 400
17 400
18 400
19 400
20 400
21 400
22 400
23 400
24 400
25 400
26 400
27 400
28 400
29 400
30 400
31 400
32 400
33 400
34 400
35 400
36 400
37 400
38 400
39 400
40 400
41 400
42 400
43 ...

result:

wrong answer 

Subtask #5:

score: 0
Wrong Answer

Test #21:

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

input:

2000 6

output:

9545
0 333
1 333
2 333
3 333
4 333
5 333
6 333
7 333
8 333
9 333
10 333
11 333
12 333
13 333
14 333
15 333
16 333
17 333
18 333
19 333
20 333
21 333
22 333
23 333
24 333
25 333
26 333
27 333
28 333
29 333
30 333
31 333
32 333
33 333
34 333
35 333
36 333
37 333
38 333
39 333
40 333
41 333
42 333
43 3...

result:

wrong answer 

Subtask #6:

score: 0
Wrong Answer

Test #26:

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

input:

1999 7

output:

9132
0 285
1 285
2 285
3 285
4 285
5 285
6 285
7 285
8 285
9 285
10 285
11 285
12 285
13 285
14 285
15 285
16 285
17 285
18 285
19 285
20 285
21 285
22 285
23 285
24 285
25 285
26 285
27 285
28 285
29 285
30 285
31 285
32 285
33 285
34 285
35 285
36 285
37 285
38 285
39 285
40 285
41 285
42 285
43 2...

result:

wrong answer 

Subtask #7:

score: 0
Wrong Answer

Test #31:

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

input:

1995 8

output:

8790
0 249
1 249
2 249
3 249
4 249
5 249
6 249
7 249
8 249
9 249
10 249
11 249
12 249
13 249
14 249
15 249
16 249
17 249
18 249
19 249
20 249
21 249
22 249
23 249
24 249
25 249
26 249
27 249
28 249
29 249
30 249
31 249
32 249
33 249
34 249
35 249
36 249
37 249
38 249
39 249
40 249
41 249
42 249
43 2...

result:

wrong answer 

Subtask #8:

score: 0
Wrong Answer

Test #36:

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

input:

1997 9

output:

8248
0 221
1 221
2 221
3 221
4 221
5 221
6 221
7 221
8 221
9 221
10 221
11 221
12 221
13 221
14 221
15 221
16 221
17 221
18 221
19 221
20 221
21 221
22 221
23 221
24 221
25 221
26 221
27 221
28 221
29 221
30 221
31 221
32 221
33 221
34 221
35 221
36 221
37 221
38 221
39 221
40 221
41 221
42 221
43 2...

result:

wrong answer 

Subtask #9:

score: 0
Wrong Answer

Test #41:

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

input:

1995 10

output:

7666
0 199
1 199
2 199
3 199
4 199
5 199
6 199
7 199
8 199
9 199
10 199
11 199
12 199
13 199
14 199
15 199
16 199
17 199
18 199
19 199
20 199
21 199
22 199
23 199
24 199
25 199
26 199
27 199
28 199
29 199
30 199
31 199
32 199
33 199
34 199
35 199
36 199
37 199
38 199
39 199
40 199
41 199
42 199
43 1...

result:

wrong answer 

Subtask #10:

score: 0
Wrong Answer

Test #46:

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

input:

1993 11

output:

7280
0 181
1 181
2 181
3 181
4 181
5 181
6 181
7 181
8 181
9 181
10 181
11 181
12 181
13 181
14 181
15 181
16 181
17 181
18 181
19 181
20 181
21 181
22 181
23 181
24 181
25 181
26 181
27 181
28 181
29 181
30 181
31 181
32 181
33 181
34 181
35 181
36 181
37 181
38 181
39 181
40 181
41 181
42 181
43 1...

result:

wrong answer 

Subtask #11:

score: 0
Wrong Answer

Test #51:

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

input:

1999 12

output:

6891
0 166
1 166
2 166
3 166
4 166
5 166
6 166
7 166
8 166
9 166
10 166
11 166
12 166
13 166
14 166
15 166
16 166
17 166
18 166
19 166
20 166
21 166
22 166
23 166
24 166
25 166
26 166
27 166
28 166
29 166
30 166
31 166
32 166
33 166
34 166
35 166
36 166
37 166
38 166
39 166
40 166
41 166
42 166
43 1...

result:

wrong answer 

Subtask #12:

score: 0
Wrong Answer

Test #56:

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

input:

1981 13

output:

6782
0 152
1 152
2 152
3 152
4 152
5 152
6 152
7 152
8 152
9 152
10 152
11 152
12 152
13 152
14 152
15 152
16 152
17 152
18 152
19 152
20 152
21 152
22 152
23 152
24 152
25 152
26 152
27 152
28 152
29 152
30 152
31 152
32 152
33 152
34 152
35 152
36 152
37 152
38 152
39 152
40 152
41 152
42 152
43 1...

result:

wrong answer 

Subtask #13:

score: 0
Wrong Answer

Test #61:

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

input:

1979 14

output:

6738
0 141
1 141
2 141
3 141
4 141
5 141
6 141
7 141
8 141
9 141
10 141
11 141
12 141
13 141
14 141
15 141
16 141
17 141
18 141
19 141
20 141
21 141
22 141
23 141
24 141
25 141
26 141
27 141
28 141
29 141
30 141
31 141
32 141
33 141
34 141
35 141
36 141
37 141
38 141
39 141
40 141
41 141
42 141
43 1...

result:

wrong answer 

Subtask #14:

score: 0
Wrong Answer

Test #66:

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

input:

2000 15

output:

6766
0 133
1 133
2 133
3 133
4 133
5 133
6 133
7 133
8 133
9 133
10 133
11 133
12 133
13 133
14 133
15 133
16 133
17 133
18 133
19 133
20 133
21 133
22 133
23 133
24 133
25 133
26 133
27 133
28 133
29 133
30 133
31 133
32 133
33 133
34 133
35 133
36 133
37 133
38 133
39 133
40 133
41 133
42 133
43 1...

result:

wrong answer