QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#426589 | #8675. Schedule | crescent | AC ✓ | 3ms | 4392kb | C++14 | 894b | 2024-05-31 15:52:17 | 2024-05-31 15:52:18 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 3756kb
input:
4 4
output:
infinity
result:
ok infinity
Test #2:
score: 0
Accepted
time: 1ms
memory: 3840kb
input:
3 4
output:
4 221 212 122 111
result:
ok
Test #3:
score: 0
Accepted
time: 1ms
memory: 3828kb
input:
4 15
output:
5 2221 2212 2122 1222 1111 2221 2212 2122 1222 1111 2221 2212 2122 1222 1111
result:
ok
Test #4:
score: 0
Accepted
time: 1ms
memory: 4316kb
input:
5 52
output:
6 22212 22122 21221 12221 11112 11111 22212 22122 21221 12221 11112 11111 22212 22122 21221 12221 11112 11111 22212 22122 21221 12221 11112 11111 22212 22122 21221 12221 11112 11111 22212 22122 21221 12221 11112 11111 22212 22122 21221 12221 11112 11111 22212 22122 21221 12221 11112 11111 22212 2212...
result:
ok
Test #5:
score: 0
Accepted
time: 0ms
memory: 4328kb
input:
10 52
output:
6 2221221211 2212212121 2122122112 1222111222 1111222222 1111111111 2221221211 2212212121 2122122112 1222111222 1111222222 1111111111 2221221211 2212212121 2122122112 1222111222 1111222222 1111111111 2221221211 2212212121 2122122112 1222111222 1111222222 1111111111 2221221211 2212212121 2122122112 1...
result:
ok
Test #6:
score: 0
Accepted
time: 1ms
memory: 4040kb
input:
11 52
output:
7 22221222122 22212221221 22122212212 21222122211 12222111122 11111222222 11111111111 22221222122 22212221221 22122212212 21222122211 12222111122 11111222222 11111111111 22221222122 22212221221 22122212212 21222122211 12222111122 11111222222 11111111111 22221222122 22212221221 22122212212 2122212221...
result:
ok
Test #7:
score: 0
Accepted
time: 1ms
memory: 4044kb
input:
15 52
output:
7 222212221221211 222122212212121 221222122122112 212221222111222 122221111222222 111112222222222 111111111111111 222212221221211 222122212212121 221222122122112 212221222111222 122221111222222 111112222222222 111111111111111 222212221221211 222122212212121 221222122122112 212221222111222 1222211112...
result:
ok
Test #8:
score: 0
Accepted
time: 1ms
memory: 4024kb
input:
16 52
output:
8 2222122212212112 2221222122121212 2212221221221122 2122212221112221 1222211112222221 1111122222222221 1111111111111112 1111111111111111 2222122212212112 2221222122121212 2212221221221122 2122212221112221 1222211112222221 1111122222222221 1111111111111112 1111111111111111 2222122212212112 222122212...
result:
ok
Test #9:
score: 0
Accepted
time: 1ms
memory: 4028kb
input:
35 52
output:
8 22221222122121122212212112212112111 22212221221212122122121212121211211 22122212212211221221221121221121121 21222122211122212221112221112221112 12222111122222211112222221111112222 11111222222222211111111112222222222 11111111111111122222222222222222222 11111111111111111111111111111111111 2222122212...
result:
ok
Test #10:
score: 0
Accepted
time: 1ms
memory: 3976kb
input:
36 52
output:
9 222221222212221221211222212221221211 222212222122212212121222122212212121 222122221222122122112221222122122112 221222212221222111222212221222111222 212222122221111222222122221111222222 122222111112222222222111112222222222 111111222222222222222111111111111111 111111111111111111111222222222222222 11...
result:
ok
Test #11:
score: 0
Accepted
time: 0ms
memory: 4012kb
input:
56 52
output:
9 22222122221222122121122221222122121122212212112212112111 22221222212221221212122212221221212122122121212121211211 22212222122212212211222122212212211221221221121221121121 22122221222122211122221222122211122212221112221112221112 21222212222111122222212222111122222211112222221111112222 1222221111122...
result:
ok
Test #12:
score: 0
Accepted
time: 1ms
memory: 4340kb
input:
57 52
output:
10 222221222212221221211222212221221211222122121122121121112 222212222122212212121222122212212121221221212121212112112 222122221222122122112221222122122112212212211212211211212 221222212221222111222212221222111222122211122211122211122 212222122221111222222122221111222222111122222211111122221 1222221...
result:
ok
Test #13:
score: 0
Accepted
time: 1ms
memory: 4028kb
input:
126 52
output:
10 222221222212221221211222212221221211222122121122121121112222122212212112221221211221211211122212212112212112111221211211121111 222212222122212212121222122212212121221221212121212112112221222122121212212212121212121121122122121212121211211212121121112111 2221222212221221221122212221221221122122122...
result:
ok
Test #14:
score: 0
Accepted
time: 0ms
memory: 4072kb
input:
127 52
output:
11 2222221222221222212221221211222221222212221221211222212221221211222122121122121121112222212222122212212112222122212212112221221 2222212222212222122212212121222212222122212212121222122212212121221221212121212112112222122221222122121212221222122121212212212 22221222221222212221221221122221222212221...
result:
ok
Test #15:
score: 0
Accepted
time: 1ms
memory: 4068kb
input:
792 52
output:
13 222222212222221222221222212221221211222222122222122221222122121122222122221222122121122221222122121122212212112212112111222222122222122221222122121122222122221222122121122221222122121122212212112212112111222221222212221221211222212221221211222122121122121121112222122212212112221221211221211211122...
result:
ok
Test #16:
score: 0
Accepted
time: 1ms
memory: 4064kb
input:
793 52
output:
14 222222212222221222221222212221221211222222122222122221222122121122222122221222122121122221222122121122212212112212112111222222122222122221222122121122222122221222122121122221222122121122212212112212112111222221222212221221211222212221221211222122121122121121112222122212212112221221211221211211122...
result:
ok
Test #17:
score: 0
Accepted
time: 2ms
memory: 4276kb
input:
6435 52
output:
16 222222221222222212222221222221222212221221211222222212222221222221222212221221211222222122222122221222122121122222122221222122121122221222122121122212212112212112111222222212222221222221222212221221211222222122222122221222122121122222122221222122121122221222122121122212212112212112111222222122222...
result:
ok
Test #18:
score: 0
Accepted
time: 2ms
memory: 4360kb
input:
6436 52
output:
17 222222222122222222122222221222222122222122221222122121122222222122222221222222122222122221222122121122222221222222122222122221222122121122222212222212222122212212112222212222122212212112222122212212112221221211221211211122222222122222221222222122222122221222122121122222221222222122222122221222122...
result:
ok
Test #19:
score: 0
Accepted
time: 0ms
memory: 3752kb
input:
792 10
output:
infinity
result:
ok infinity
Test #20:
score: 0
Accepted
time: 2ms
memory: 4364kb
input:
5000 52
output:
16 222222221222222212222221222221222212221221211222222212222221222221222212221221211222222122222122221222122121122222122221222122121122221222122121122212212112212112111222222212222221222221222212221221211222222122222122221222122121122222122221222122121122221222122121122212212112212112111222222122222...
result:
ok
Test #21:
score: 0
Accepted
time: 3ms
memory: 4392kb
input:
10000 52
output:
17 222222222122222222122222221222222122222122221222122121122222222122222221222222122222122221222122121122222221222222122222122221222122121122222212222212222122212212112222212222122212212112222122212212112221221211221211211122222222122222221222222122222122221222122121122222221222222122222122221222122...
result:
ok
Test #22:
score: 0
Accepted
time: 1ms
memory: 3752kb
input:
2 3
output:
infinity
result:
ok infinity
Test #23:
score: 0
Accepted
time: 0ms
memory: 3832kb
input:
3 3
output:
infinity
result:
ok infinity
Test #24:
score: 0
Accepted
time: 0ms
memory: 4132kb
input:
4 5
output:
5 2221 2212 2122 1222 1111
result:
ok
Test #25:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
5 5
output:
infinity
result:
ok infinity
Test #26:
score: 0
Accepted
time: 0ms
memory: 3752kb
input:
11 6
output:
infinity
result:
ok infinity
Test #27:
score: 0
Accepted
time: 0ms
memory: 3908kb
input:
11 7
output:
7 22221222122 22212221221 22122212212 21222122211 12222111122 11111222222 11111111111
result:
ok
Test #28:
score: 0
Accepted
time: 0ms
memory: 4048kb
input:
127 10
output:
infinity
result:
ok infinity
Test #29:
score: 0
Accepted
time: 0ms
memory: 3816kb
input:
6436 16
output:
infinity
result:
ok infinity
Test #30:
score: 0
Accepted
time: 1ms
memory: 4064kb
input:
6436 17
output:
17 222222222122222222122222221222222122222122221222122121122222222122222221222222122222122221222122121122222221222222122222122221222122121122222212222212222122212212112222212222122212212112222122212212112221221211221211211122222222122222221222222122222122221222122121122222221222222122222122221222122...
result:
ok
Extra Test:
score: 0
Extra Test Passed