QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#587006 | #2762. Bitaro the Brave | Nova_NightWind0311 | 100 ✓ | 122ms | 83256kb | C++20 | 932b | 2024-09-24 17:05:28 | 2024-09-24 17:05:29 |
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
Subtask #1:
score: 20
Accepted
Test #1:
score: 20
Accepted
time: 1ms
memory: 7980kb
input:
2 2 JI OO
output:
0
result:
ok single line: '0'
Test #2:
score: 20
Accepted
time: 1ms
memory: 7940kb
input:
2 2 JO IJ
output:
1
result:
ok single line: '1'
Test #3:
score: 20
Accepted
time: 0ms
memory: 7996kb
input:
2 5 JJJJJ IOOOO
output:
0
result:
ok single line: '0'
Test #4:
score: 20
Accepted
time: 0ms
memory: 8012kb
input:
10 7 OJIJJJI IOJJIIO JOJOOIJ IJIJOOO IJIIIJI IJOJJJI JJOIJIJ IJJJOJO JOJIOOO IJIOJJJ
output:
49
result:
ok single line: '49'
Test #5:
score: 20
Accepted
time: 0ms
memory: 10328kb
input:
100 100 IOIIOJOIJOIIJOJOOOJIOOIIOJOOOJIOOJJIIOOIOIOJIOOOIIIOJJOOIIJIOIOOOOOOIJOJJJIJOJJIJJOIOIJIOOJIJOOJIIIO OIIOIIOIIOOIOOIJJIIOIJIIJIJJIJOOOJOIJJJIJOIIOJJOOIOJIOIJJOOIIIIIOIJOJIIIJIIJIOJOOOJOIIIJOOIOOJJJIIJO JJOJJJJOJOJOOJIOIJOJIOIJJOJJOOOJIJOJJIJJIOJIIIOJJIOOIOOJIOJJIOOJOJOIIJJIOOOIJOJJJOOOJOJIJJ...
output:
914660
result:
ok single line: '914660'
Test #6:
score: 20
Accepted
time: 1ms
memory: 10340kb
input:
100 80 IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII...
output:
0
result:
ok single line: '0'
Test #7:
score: 20
Accepted
time: 2ms
memory: 12288kb
input:
90 100 JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO...
output:
5398762
result:
ok single line: '5398762'
Test #8:
score: 20
Accepted
time: 2ms
memory: 12380kb
input:
100 100 IIIJJIIOIJOOIJOIIIIIOOIOIOJOIOIJOJJJOIOJOOOOOIOIJOJJIIOOOJOIIJOIOOOIIOIJOIOJJJOIJJIJIIIJIIJJIJJJIIOJ IIJIOOOJOOJJJJIIOOOJJIIIJIOIOOJIOIOJJJJOIIOOOOJIOJIOOJIOIIOOOOJIIIJJJIOIOJOIIIIOIOJJIJIJJOOJOIOJOJOI IOOIJJJIIOIOJOIOJJJOOOJOIIOJOJOOIOIIJJOOOOOJIIOIIOIIIJJOOJJJOIOOJIJIJIJJOOOIIJIOOJIIIOOIJJ...
output:
918677
result:
ok single line: '918677'
Test #9:
score: 20
Accepted
time: 0ms
memory: 12364kb
input:
100 80 OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO IJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ IOJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ IOIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII...
output:
0
result:
ok single line: '0'
Test #10:
score: 20
Accepted
time: 1ms
memory: 8248kb
input:
90 100 JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO...
output:
5398762
result:
ok single line: '5398762'
Test #11:
score: 20
Accepted
time: 0ms
memory: 12364kb
input:
100 100 IIOJOJJJJIOJOOJOOJJJOOJJOIIOJOIOOOJOJJIJJOOOOJIOJJOJIIJJIIJOOOOJOOJJOOOJJJJOOOJIOOOOOJOIJJJOJJJJOOJJ JOOJIIJIJJIOJJIOJJOJJJOJJIJJOJJOOJJJIOIOOJJIIJIOJJIJJOJOIOOJIOJJJJIOJOOOJOJOJIOJIJOJOIIOJOJOOOOJIOOI IIOOIJIIOJOJIJOJOIIOIOJOJJOOIOJIJOOIIOJOOOOJJJOOJJIOJIJJJJOJIOJOOJOJOJOOOJOIJJOJIJJIOJJOOJ...
output:
796792
result:
ok single line: '796792'
Test #12:
score: 20
Accepted
time: 1ms
memory: 12180kb
input:
100 80 OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOIJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ...
output:
0
result:
ok single line: '0'
Test #13:
score: 20
Accepted
time: 1ms
memory: 10208kb
input:
90 100 JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO...
output:
5398762
result:
ok single line: '5398762'
Subtask #2:
score: 30
Accepted
Dependency #1:
100%
Accepted
Test #14:
score: 30
Accepted
time: 6ms
memory: 22980kb
input:
500 383 IIOJOOJJJIOJOOJIOJOJOIJJIIIOJIIIOOJOJJIJJOOOOJIOOJOJIIJOIIJOOOOJOOJOIIOJJJJOOOJIOOOOOJOIJJJOJJJJOIOJJIIJIIJIJJIIOJIOOJOJJJIJOIJJOJJIIJJOIIIOIJJIIJIOJOIJJOJIIOOJIIOJJJIIJIIIJOJOJIOJIJOJIIIIOIJOOIOJIIOIIIOOIJIIOJOJIJIJOIIOIOJOJJOOIOJIJOOIIIJOOIOJJJOIJJIOOIOJJJOJIOJOIJOJIJOOIJOIJJIJIOJIOOJOIJJJ...
output:
337799466
result:
ok single line: '337799466'
Test #15:
score: 30
Accepted
time: 0ms
memory: 16972kb
input:
422 11 JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJ...
output:
1405166
result:
ok single line: '1405166'
Test #16:
score: 30
Accepted
time: 3ms
memory: 14904kb
input:
259 500 IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII...
output:
0
result:
ok single line: '0'
Test #17:
score: 30
Accepted
time: 0ms
memory: 10044kb
input:
10 290 IOJIJIIOJOJJJJOJJIIJJOJOIIOOOOOOOIIJJIOIJIOIOOJJJIIOJJJIJJJOJJJJJIJOJIOIOIJJJIOOIOJOIJJJJJOIJIOIOJOIOIIOJOJOJIIIIOIOIIJIOOOIOJOOOOJJIJOIJJJIOJOIJJOOJJIOIIIJOOJJOIOOOIIOJJOJIJIOJOIIJIOJIIJJJIJOJJJOOOJIIIOJOIIJIJJOIIJJIJOJIJJJIIIIOJOOJIJIOIJIJJOJOOIIOJIOIOIIOOIJIOIOIJJJJIOJOOOJJOIJIIIOJIIOOO IJ...
output:
72792
result:
ok single line: '72792'
Test #18:
score: 30
Accepted
time: 3ms
memory: 21608kb
input:
500 500 JIJIIJJOIJJOOOIJOIOIIOOIOOJIOOIIIOIJIIIJJIJIJJJIIJIIJIIOJJJOOIOIOIIOJJOJIIIIJJJJOIOJIOJJJJOIOOOIOOIJOOJIOJJJOJOJJIOJIJIIJJIIJOIOOJIOJOIJOOOOOJOIOJIIJJOOOOIIIIJOOOOOOOOJOJIOIJOOOJJJJOOIJJJIOOOOJIIJIIJJJOIIOIJJIIOJOOIOOJJOIJIOIIIIJJJOOOJIOIJJOOJJJJIOOJOOJJOIJIOIJJJOIJJOJJJIOOJIJIOJIIOOIOOOOJIO...
output:
577960132
result:
ok single line: '577960132'
Test #19:
score: 30
Accepted
time: 0ms
memory: 21792kb
input:
500 480 IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII...
output:
0
result:
ok single line: '0'
Test #20:
score: 30
Accepted
time: 0ms
memory: 20208kb
input:
490 500 JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO...
output:
4001516490
result:
ok single line: '4001516490'
Test #21:
score: 30
Accepted
time: 3ms
memory: 21668kb
input:
500 500 OJIJIJIIIJIJOJIIIOIOIJIJOOIOIIIJOIIOOIJOOOOJOIJJIOIOOIJJOIOOIIOOIJIOIIIIJIOOJIJOJOJOJJIIOIOJOJJOIJJIIIIOJOJOJJJOOIJIJJOOOIIIOJJIOJOJOIOJIJJIJOJOOIIIJJOIJOOJJOIIJOIOJJIJIOIIIIJJOJOOIIJIOIOOIJIIJIIJOIOOJOIOIIIJOOOOOOIIIOOJOIOJIIIJIJOJIOJIOJOJOIIJJIIIOJJIJJOIIJJIJJIOOIJOOOOOJJJIJJOOOJIIOIJOJIOO...
output:
574574908
result:
ok single line: '574574908'
Test #22:
score: 30
Accepted
time: 4ms
memory: 21684kb
input:
500 480 OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO...
output:
0
result:
ok single line: '0'
Test #23:
score: 30
Accepted
time: 0ms
memory: 21048kb
input:
490 500 JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO...
output:
4001516490
result:
ok single line: '4001516490'
Test #24:
score: 30
Accepted
time: 3ms
memory: 21796kb
input:
500 500 JJOIOIJJOJOOJJIJOIJOOIJIJJOIOJJIIJJOJIOJOJJJIJJJOOIJIJJIOJJJOJJJOIOJJJOOIOOIJOIJJOOJJJJOJJIJOOOJOIOJJIJOIJIJJJIJJIOJOOOIJOJJJOOOJJOIIIJIOOIJIIJIIJOOIOIJOJJJOOJOJOOOJJJJJJJJIOOOJJIJJOOOOJOOOOJOOIIIJOOOOOOOJJIOJJJOOIIOJJJIJJOOIJJJOIOJOOJIOOJOJOJJJOJJJJOOJIJIOOOJIOIJJJOOJIIOOIOJJIJOOOOJJIOJIJOJ...
output:
498558595
result:
ok single line: '498558595'
Test #25:
score: 30
Accepted
time: 4ms
memory: 23008kb
input:
500 480 OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO...
output:
0
result:
ok single line: '0'
Test #26:
score: 30
Accepted
time: 2ms
memory: 19932kb
input:
490 500 JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO...
output:
4001516490
result:
ok single line: '4001516490'
Subtask #3:
score: 50
Accepted
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Test #27:
score: 50
Accepted
time: 121ms
memory: 83220kb
input:
3000 2833 OOOJIJJJJJIJJJJIOIIIIJIIJOIIIIJJJIIIOOOOIIIIJOIOOJOJIIJJIIOJOOIJIIIJJOOOOOIOIIOIJJIJJIJJJOOIOIOOIOOOJOIJOIIIJOJOJJJOOIIIIOJOIIJOIOIJJOJJJJJIJJOJJJJJOJOJJOJOOJOOJIIIJJOJOOJIIJJIIJJIOIJOJOJOOOIIIIOOJOJJJIJOIJOOJJIIOOIJIIIJOIOOOOJIJJIJOIIOIJJJIJJJIOIIJJIOJIJJOJIOOIOJJOIIJJJIJIJJOJIIOOIIIJJJJO...
output:
668719823677
result:
ok single line: '668719823677'
Test #28:
score: 50
Accepted
time: 0ms
memory: 58716kb
input:
2322 11 JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJJJOOOOO JJJJ...
output:
42543610
result:
ok single line: '42543610'
Test #29:
score: 50
Accepted
time: 6ms
memory: 14892kb
input:
259 2500 JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ...
output:
0
result:
ok single line: '0'
Test #30:
score: 50
Accepted
time: 0ms
memory: 7920kb
input:
10 2290 IJIJJJIIIJOIJIJJIOIOIJOOOIOIOIJJJIJOIIIJIJOIJIJOOOJIJJIJIJIIJIJJIJOIJJJJJOIIIJJOIIOJJJOIOOJJIIOIJIJOJOJOJOJJOJIOIJIOJIOJIJIOIIJOJJJOOIOIOOJJIJIOJIOJOJIOJJOIIJJJIOIOIIJIIOJIJJOIJJIJJOIOOJOOJOJIOJIIOJJIOJIOJJJOOOJIOIJIJJOOIJIOOJOJOOJJIIOJOOIOJIOOOJOJJIOOOOJIJIJOIJOOIJJIOOJOIIJOJOIOIJJIJIOIJOJJ...
output:
4288870
result:
ok single line: '4288870'
Test #31:
score: 50
Accepted
time: 99ms
memory: 76732kb
input:
2500 2500 OJIIOOIJOOOIIOOIJJJOIIIIIIOJOJOJJJIOJJIJIJOJOJOOOJOOOJOJIOJJJOOOIIOIOOJIOJIJOIJIJJJJJOOOOOIIOJJOOOJIJOIOOJIOJJOOJJJIOOOJJJIOOIJIOIOOIIOOIJOOIJJOJOIIIJJIIJJIOIIIOJIIJIJJIOOOIIJJIJOJJIJOIOOOIJIOOOIJJIOIIIIOOIIJIOJJJIIIIOJIOOIOOJIOJOJIJIIOJJJIOIIOOOIJJJIIOIIIOJJIIIIJOJOOOIJJJJJJJIOIOOJJOOIIJI...
output:
361148412030
result:
ok single line: '361148412030'
Test #32:
score: 50
Accepted
time: 64ms
memory: 83076kb
input:
3000 2980 OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO...
output:
0
result:
ok single line: '0'
Test #33:
score: 50
Accepted
time: 71ms
memory: 83092kb
input:
2990 3000 JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ...
output:
5364027346746
result:
ok single line: '5364027346746'
Test #34:
score: 50
Accepted
time: 101ms
memory: 82080kb
input:
2900 2500 IOOJOIJJJOOIJOJOOIJIOOOIOOIJIJIIIIOJOIIIOIJOJIOIIOIOOJIJIJOOOJIIJOIOJOOIJJOJOIJIIOIJJJOOJIOJOOIIOOIIIOIIJOIOIJOOIJIIJJOJJIJJJOOOJOOIOOIIIOIIIIOJOIIJIOIIJJJIJIIOOJJJOIIIJOIJIIJIIJOIOIJJOIIOIIJOOOJOIIOOIOIOIIJIJJOOIIOOIIIOJJJJIJOJJIIOOJJIIIJJJJJOJJIJJJJOIOJIOIIOOJJOJOJJOOOOJOJOOJOJJOOIIOOOOJ...
output:
486227614104
result:
ok single line: '486227614104'
Test #35:
score: 50
Accepted
time: 48ms
memory: 83136kb
input:
3000 2980 OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO...
output:
0
result:
ok single line: '0'
Test #36:
score: 50
Accepted
time: 81ms
memory: 82964kb
input:
2990 3000 JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ...
output:
5364027346746
result:
ok single line: '5364027346746'
Test #37:
score: 50
Accepted
time: 122ms
memory: 83256kb
input:
3000 3000 IOJJJOOOIOOJOOJOJJJJOOJJIIOOJOOJOJJJJOJIOOOIOJJOIJJOOIJOIOOJIOOOIIJJJIJOJIJOIJIJJIOJOJJIOOJOJJOOOOOOOJOJIJOOOJOJIOJOJOIJJOOJOJOOIJOJIJOIJOJJIOOOJOJOJOOIJIOOJOOJJJOJOIOJOIJOOJOIJOJJJJJJJIOJIJOOIOJIJOIOOJOOOOOJJOJJOJJIJOOOIOOOIIJJJOJJJOOIIIOOOOOIOJOOOOJIJJIOJJJIJIJOIOIJJOOOJOIIJJOJJJJOOJOJOI...
output:
647297558787
result:
ok single line: '647297558787'
Test #38:
score: 50
Accepted
time: 38ms
memory: 75196kb
input:
2500 2480 OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO...
output:
0
result:
ok single line: '0'
Test #39:
score: 50
Accepted
time: 44ms
memory: 73200kb
input:
2490 2500 JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ...
output:
2583356364529
result:
ok single line: '2583356364529'
Extra Test:
score: 0
Extra Test Passed