QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#259173#3269. 末日魔法少女计划flower#32.451292 2ms3972kbC++202.6kb2023-11-20 17:50:582024-07-04 03:07:37

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 22
Accepted

Test #1:

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

input:

2000 2

output:

15974
0 2
0 6
0 14
0 30
0 61
0 124
0 249
0 499
0 1000
1 6
1 14
1 30
1 61
1 124
1 249
1 499
1 1000
2 4
2 5
2 6
2 14
2 30
2 61
2 124
2 249
2 499
2 1000
3 6
3 14
3 30
3 61
3 124
3 249
3 499
3 1000
4 6
4 14
4 30
4 61
4 124
4 249
4 499
4 1000
5 14
5 30
5 61
5 124
5 249
5 499
5 1000
6 8
6 9
6 10
6 11
6 12...

result:

ok 

Test #2:

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

input:

1999 2

output:

15965
0 2
0 6
0 14
0 30
0 61
0 124
0 249
0 499
0 999
1 6
1 14
1 30
1 61
1 124
1 249
1 499
1 999
2 4
2 5
2 6
2 14
2 30
2 61
2 124
2 249
2 499
2 999
3 6
3 14
3 30
3 61
3 124
3 249
3 499
3 999
4 6
4 14
4 30
4 61
4 124
4 249
4 499
4 999
5 14
5 30
5 61
5 124
5 249
5 499
5 999
6 8
6 9
6 10
6 11
6 12
6 13
...

result:

ok 

Test #3:

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

input:

1992 2

output:

15902
0 2
0 6
0 14
0 30
0 61
0 123
0 248
0 497
0 996
1 6
1 14
1 30
1 61
1 123
1 248
1 497
1 996
2 4
2 5
2 6
2 14
2 30
2 61
2 123
2 248
2 497
2 996
3 6
3 14
3 30
3 61
3 123
3 248
3 497
3 996
4 6
4 14
4 30
4 61
4 123
4 248
4 497
4 996
5 14
5 30
5 61
5 123
5 248
5 497
5 996
6 8
6 9
6 10
6 11
6 12
6 13
...

result:

ok 

Test #4:

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

input:

1973 2

output:

15731
0 2
0 6
0 14
0 29
0 60
0 122
0 245
0 492
0 986
1 6
1 14
1 29
1 60
1 122
1 245
1 492
1 986
2 4
2 5
2 6
2 14
2 29
2 60
2 122
2 245
2 492
2 986
3 6
3 14
3 29
3 60
3 122
3 245
3 492
3 986
4 6
4 14
4 29
4 60
4 122
4 245
4 492
4 986
5 14
5 29
5 60
5 122
5 245
5 492
5 986
6 8
6 9
6 10
6 11
6 12
6 13
...

result:

ok 

Test #5:

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

input:

1936 2

output:

15398
0 2
0 6
0 14
0 29
0 59
0 120
0 241
0 483
0 968
1 6
1 14
1 29
1 59
1 120
1 241
1 483
1 968
2 4
2 5
2 6
2 14
2 29
2 59
2 120
2 241
2 483
2 968
3 6
3 14
3 29
3 59
3 120
3 241
3 483
3 968
4 6
4 14
4 29
4 59
4 120
4 241
4 483
4 968
5 14
5 29
5 59
5 120
5 241
5 483
5 968
6 8
6 9
6 10
6 11
6 12
6 13
...

result:

ok 

Subtask #2:

score: 10.4513
Acceptable Answer

Test #6:

score: 10.4513
Acceptable Answer
time: 0ms
memory: 3668kb

input:

1936 3

output:

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

result:

points 0.74652087170

Test #7:

score: 10.6814
Acceptable Answer
time: 1ms
memory: 3724kb

input:

2000 3

output:

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

result:

points 0.76295548710

Test #8:

score: 10.6697
Acceptable Answer
time: 1ms
memory: 3660kb

input:

1999 3

output:

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

result:

points 0.76211954820

Test #9:

score: 10.6613
Acceptable Answer
time: 1ms
memory: 3752kb

input:

1992 3

output:

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

result:

points 0.76151962340

Test #10:

score: 10.5556
Acceptable Answer
time: 1ms
memory: 3740kb

input:

1973 3

output:

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

result:

points 0.75397242280

Subtask #3:

score: 0
Wrong Answer

Test #11:

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

input:

2000 4

output:

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

result:

wrong answer Not correct

Subtask #4:

score: 0
Wrong Answer

Test #16:

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

input:

2000 5

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #5:

score: 0
Wrong Answer

Test #21:

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

input:

2000 6

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #6:

score: 0
Wrong Answer

Test #26:

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

input:

1999 7

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #7:

score: 0
Wrong Answer

Test #31:

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

input:

1995 8

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #8:

score: 0
Wrong Answer

Test #36:

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

input:

1997 9

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #9:

score: 0
Wrong Answer

Test #41:

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

input:

1995 10

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #10:

score: 0
Wrong Answer

Test #46:

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

input:

1993 11

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #11:

score: 0
Wrong Answer

Test #51:

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

input:

1999 12

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #12:

score: 0
Wrong Answer

Test #56:

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

input:

1981 13

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #13:

score: 0
Wrong Answer

Test #61:

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

input:

1979 14

output:


result:

wrong output format Unexpected end of file - int32 expected

Subtask #14:

score: 0
Wrong Answer

Test #66:

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

input:

2000 15

output:


result:

wrong output format Unexpected end of file - int32 expected