QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#413959 | #8675. Schedule | gs14004 | AC ✓ | 14ms | 4620kb | C++20 | 824b | 2024-05-18 13:07:49 | 2024-05-18 13:07:49 |
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: 0ms
memory: 3760kb
input:
4 4
output:
infinity
result:
ok single line: 'infinity'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3748kb
input:
3 4
output:
4 111 122 212 221
result:
ok 5 lines
Test #3:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
4 15
output:
5 1111 1222 2122 2212 2221 1111 1222 2122 2212 2221 1111 1222 2122 2212 2221
result:
ok 16 lines
Test #4:
score: 0
Accepted
time: 0ms
memory: 3820kb
input:
5 52
output:
6 11111 11112 12221 21221 22122 22212 11111 11112 12221 21221 22122 22212 11111 11112 12221 21221 22122 22212 11111 11112 12221 21221 22122 22212 11111 11112 12221 21221 22122 22212 11111 11112 12221 21221 22122 22212 11111 11112 12221 21221 22122 22212 11111 11112 12221 21221 22122 22212 11111 1111...
result:
ok 53 lines
Test #5:
score: 0
Accepted
time: 0ms
memory: 3536kb
input:
10 52
output:
6 1111111111 1111222222 1222111222 2122122112 2212212121 2221221211 1111111111 1111222222 1222111222 2122122112 2212212121 2221221211 1111111111 1111222222 1222111222 2122122112 2212212121 2221221211 1111111111 1111222222 1222111222 2122122112 2212212121 2221221211 1111111111 1111222222 1222111222 2...
result:
ok 53 lines
Test #6:
score: 0
Accepted
time: 0ms
memory: 3596kb
input:
11 52
output:
7 11111111111 11111222222 12222111122 21222122211 22122212212 22212221221 22221222122 11111111111 11111222222 12222111122 21222122211 22122212212 22212221221 22221222122 11111111111 11111222222 12222111122 21222122211 22122212212 22212221221 22221222122 11111111111 11111222222 12222111122 2122212221...
result:
ok 53 lines
Test #7:
score: 0
Accepted
time: 1ms
memory: 3588kb
input:
15 52
output:
7 111111111111111 111112222222222 122221111222222 212221222111222 221222122122112 222122212212121 222212221221211 111111111111111 111112222222222 122221111222222 212221222111222 221222122122112 222122212212121 222212221221211 111111111111111 111112222222222 122221111222222 212221222111222 2212221221...
result:
ok 53 lines
Test #8:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
16 52
output:
8 1111111111111111 1111111111111112 1111122222222221 1222211112222221 2122212221112221 2212221221221122 2221222122121212 2222122212212112 1111111111111111 1111111111111112 1111122222222221 1222211112222221 2122212221112221 2212221221221122 2221222122121212 2222122212212112 1111111111111111 111111111...
result:
ok 53 lines
Test #9:
score: 0
Accepted
time: 0ms
memory: 3484kb
input:
35 52
output:
8 11111111111111111111111111111111111 11111111111111122222222222222222222 11111222222222211111111112222222222 12222111122222211112222221111112222 21222122211122212221112221112221112 22122212212211221221221121221121121 22212221221212122122121212121211211 22221222122121122212212112212112111 1111111111...
result:
ok 53 lines
Test #10:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
36 52
output:
9 111111111111111111111111111111111111 111111111111111111111222222222222222 111111222222222222222111111111111111 122222111112222222222111112222222222 212222122221111222222122221111222222 221222212221222111222212221222111222 222122221222122122112221222122122112 222212222122212212121222122212212121 22...
result:
ok 53 lines
Test #11:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
56 52
output:
9 11111111111111111111111111111111111111111111111111111111 11111111111111111111122222222222222222222222222222222222 11111122222222222222211111111111111122222222222222222222 12222211111222222222211111222222222211111111112222222222 21222212222111122222212222111122222211112222221111112222 2212222122212...
result:
ok 53 lines
Test #12:
score: 0
Accepted
time: 0ms
memory: 3752kb
input:
57 52
output:
10 111111111111111111111111111111111111111111111111111111111 111111111111111111111111111111111111111111111111111111112 111111111111111111111222222222222222222222222222222222221 111111222222222222222111111111111111222222222222222222221 122222111112222222222111112222222222111111111122222222221 2122221...
result:
ok 53 lines
Test #13:
score: 0
Accepted
time: 1ms
memory: 3608kb
input:
126 52
output:
10 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 111111111111111111111111111111111111111111111111111111112222222222222222222222222222222222222222222222222222222222222222222222 1111111111111111111112222222222222222222222...
result:
ok 53 lines
Test #14:
score: 0
Accepted
time: 1ms
memory: 3604kb
input:
127 52
output:
11 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 1111111111111111111111111111111111111111111111111111111111111111111111111111111111112222222222222222222222222222222222222222222 11111111111111111111111111112222222222222...
result:
ok 53 lines
Test #15:
score: 0
Accepted
time: 1ms
memory: 3608kb
input:
792 52
output:
13 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...
result:
ok 53 lines
Test #16:
score: 0
Accepted
time: 2ms
memory: 3904kb
input:
793 52
output:
14 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...
result:
ok 53 lines
Test #17:
score: 0
Accepted
time: 6ms
memory: 4044kb
input:
6435 52
output:
16 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...
result:
ok 53 lines
Test #18:
score: 0
Accepted
time: 6ms
memory: 4216kb
input:
6436 52
output:
17 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...
result:
ok 53 lines
Test #19:
score: 0
Accepted
time: 0ms
memory: 3532kb
input:
792 10
output:
infinity
result:
ok single line: 'infinity'
Test #20:
score: 0
Accepted
time: 7ms
memory: 4204kb
input:
5000 52
output:
16 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...
result:
ok 53 lines
Test #21:
score: 0
Accepted
time: 14ms
memory: 4620kb
input:
10000 52
output:
17 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...
result:
ok 53 lines
Test #22:
score: 0
Accepted
time: 0ms
memory: 3532kb
input:
2 3
output:
infinity
result:
ok single line: 'infinity'
Test #23:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
3 3
output:
infinity
result:
ok single line: 'infinity'
Test #24:
score: 0
Accepted
time: 0ms
memory: 3540kb
input:
4 5
output:
5 1111 1222 2122 2212 2221
result:
ok 6 lines
Test #25:
score: 0
Accepted
time: 0ms
memory: 3484kb
input:
5 5
output:
infinity
result:
ok single line: 'infinity'
Test #26:
score: 0
Accepted
time: 0ms
memory: 3776kb
input:
11 6
output:
infinity
result:
ok single line: 'infinity'
Test #27:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
11 7
output:
7 11111111111 11111222222 12222111122 21222122211 22122212212 22212221221 22221222122
result:
ok 8 lines
Test #28:
score: 0
Accepted
time: 0ms
memory: 3756kb
input:
127 10
output:
infinity
result:
ok single line: 'infinity'
Test #29:
score: 0
Accepted
time: 1ms
memory: 4316kb
input:
6436 16
output:
infinity
result:
ok single line: 'infinity'
Test #30:
score: 0
Accepted
time: 4ms
memory: 4188kb
input:
6436 17
output:
17 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111...
result:
ok 18 lines
Extra Test:
score: 0
Extra Test Passed