QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#259256#3269. 末日魔法少女计划flower#22 65ms19592kbC++202.9kb2023-11-20 19:29:512024-07-04 03:07:46

詳細信息

Subtask #1:

score: 22
Accepted

Test #1:

score: 22
Accepted
time: 58ms
memory: 19372kb

input:

2000 2

output:

15974
0 3
0 7
0 15
0 31
0 62
0 125
0 250
0 500
0 1000
1 3
1 7
1 15
1 31
1 62
1 125
1 250
1 500
1 1000
2 7
2 15
2 31
2 62
2 125
2 250
2 500
2 1000
3 5
3 6
3 7
3 15
3 31
3 62
3 125
3 250
3 500
3 1000
4 7
4 15
4 31
4 62
4 125
4 250
4 500
4 1000
5 7
5 15
5 31
5 62
5 125
5 250
5 500
5 1000
6 15
6 31
6 62...

result:

ok 

Test #2:

score: 22
Accepted
time: 58ms
memory: 19160kb

input:

1999 2

output:

15965
0 3
0 7
0 15
0 31
0 62
0 125
0 250
0 500
0 1000
1 3
1 7
1 15
1 31
1 62
1 125
1 250
1 500
1 1000
2 7
2 15
2 31
2 62
2 125
2 250
2 500
2 1000
3 5
3 6
3 7
3 15
3 31
3 62
3 125
3 250
3 500
3 1000
4 7
4 15
4 31
4 62
4 125
4 250
4 500
4 1000
5 7
5 15
5 31
5 62
5 125
5 250
5 500
5 1000
6 15
6 31
6 62...

result:

ok 

Test #3:

score: 22
Accepted
time: 62ms
memory: 19328kb

input:

1992 2

output:

15902
0 3
0 7
0 15
0 31
0 62
0 124
0 249
0 498
0 996
1 3
1 7
1 15
1 31
1 62
1 124
1 249
1 498
1 996
2 7
2 15
2 31
2 62
2 124
2 249
2 498
2 996
3 5
3 6
3 7
3 15
3 31
3 62
3 124
3 249
3 498
3 996
4 7
4 15
4 31
4 62
4 124
4 249
4 498
4 996
5 7
5 15
5 31
5 62
5 124
5 249
5 498
5 996
6 15
6 31
6 62
6 124...

result:

ok 

Test #4:

score: 22
Accepted
time: 62ms
memory: 19592kb

input:

1973 2

output:

15731
0 3
0 7
0 15
0 30
0 61
0 123
0 246
0 493
0 987
1 3
1 7
1 15
1 30
1 61
1 123
1 246
1 493
1 987
2 7
2 15
2 30
2 61
2 123
2 246
2 493
2 987
3 5
3 6
3 7
3 15
3 30
3 61
3 123
3 246
3 493
3 987
4 7
4 15
4 30
4 61
4 123
4 246
4 493
4 987
5 7
5 15
5 30
5 61
5 123
5 246
5 493
5 987
6 15
6 30
6 61
6 123...

result:

ok 

Test #5:

score: 22
Accepted
time: 59ms
memory: 18520kb

input:

1936 2

output:

15398
0 3
0 7
0 15
0 30
0 60
0 121
0 242
0 484
0 968
1 3
1 7
1 15
1 30
1 60
1 121
1 242
1 484
1 968
2 7
2 15
2 30
2 60
2 121
2 242
2 484
2 968
3 5
3 6
3 7
3 15
3 30
3 60
3 121
3 242
3 484
3 968
4 7
4 15
4 30
4 60
4 121
4 242
4 484
4 968
5 7
5 15
5 30
5 60
5 121
5 242
5 484
5 968
6 15
6 30
6 60
6 121...

result:

ok 

Subtask #2:

score: 0
Wrong Answer

Test #6:

score: 0
Wrong Answer
time: 65ms
memory: 18808kb

input:

1936 3

output:

7431
0 5
0 48
1 3
1 5
1 48
2 5
2 48
3 5
3 48
4 48
5 7
5 8
5 9
5 10
5 15
5 20
5 25
5 30
5 35
5 40
5 48
6 10
6 48
7 10
7 48
8 10
8 48
9 48
10 12
10 13
10 14
10 15
10 20
10 25
10 30
10 35
10 40
10 48
11 15
11 48
12 15
12 48
13 15
13 48
14 48
15 17
15 18
15 19
15 20
15 25
15 30
15 35
15 40
15 48
16 20
1...

result:

wrong answer Not correct

Subtask #3:

score: 0
Wrong Answer

Test #11:

score: 0
Wrong Answer
time: 57ms
memory: 18992kb

input:

2000 4

output:

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

result:

wrong answer Not correct

Subtask #4:

score: 0
Wrong Answer

Test #16:

score: 0
Wrong Answer
time: 65ms
memory: 19276kb

input:

2000 5

output:

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

result:

wrong answer Not correct

Subtask #5:

score: 0
Wrong Answer

Test #21:

score: 0
Wrong Answer
time: 61ms
memory: 17944kb

input:

2000 6

output:

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

result:

wrong answer Not correct

Subtask #6:

score: 0
Wrong Answer

Test #26:

score: 0
Wrong Answer
time: 61ms
memory: 19240kb

input:

1999 7

output:

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

result:

wrong answer Not correct

Subtask #7:

score: 0
Wrong Answer

Test #31:

score: 0
Wrong Answer
time: 61ms
memory: 18056kb

input:

1995 8

output:

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

result:

wrong answer Not correct

Subtask #8:

score: 0
Wrong Answer

Test #36:

score: 0
Wrong Answer
time: 65ms
memory: 18012kb

input:

1997 9

output:

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

result:

wrong answer Not correct

Subtask #9:

score: 0
Wrong Answer

Test #41:

score: 0
Wrong Answer
time: 61ms
memory: 18936kb

input:

1995 10

output:

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

result:

wrong answer Not correct

Subtask #10:

score: 0
Wrong Answer

Test #46:

score: 0
Wrong Answer
time: 61ms
memory: 18988kb

input:

1993 11

output:

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

result:

wrong answer Not correct

Subtask #11:

score: 0
Wrong Answer

Test #51:

score: 0
Wrong Answer
time: 61ms
memory: 17896kb

input:

1999 12

output:

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

result:

wrong answer Not correct

Subtask #12:

score: 0
Wrong Answer

Test #56:

score: 0
Wrong Answer
time: 61ms
memory: 18940kb

input:

1981 13

output:

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

result:

wrong answer Not correct

Subtask #13:

score: 0
Wrong Answer

Test #61:

score: 0
Wrong Answer
time: 65ms
memory: 18984kb

input:

1979 14

output:

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

result:

wrong answer Not correct

Subtask #14:

score: 0
Wrong Answer

Test #66:

score: 0
Wrong Answer
time: 61ms
memory: 18944kb

input:

2000 15

output:

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

result:

wrong answer Not correct