QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#59643 | #1204. En-JOI-able Logo Design | qwq | 100 ✓ | 58ms | 30324kb | C++ | 958b | 2022-10-31 16:51:31 | 2022-10-31 16:51:32 |
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: 30
Accepted
Test #1:
score: 30
Accepted
time: 1ms
memory: 5676kb
input:
1 OOOJ
output:
1
result:
ok single line: '1'
Test #2:
score: 0
Accepted
time: 3ms
memory: 5672kb
input:
1 JJOO
output:
1
result:
ok single line: '1'
Test #3:
score: 0
Accepted
time: 1ms
memory: 5592kb
input:
2 OJJOOJJIJIIJJOII
output:
7
result:
ok single line: '7'
Test #4:
score: 0
Accepted
time: 2ms
memory: 5672kb
input:
2 IJOIOIOJIJOJOJOI
output:
7
result:
ok single line: '7'
Test #5:
score: 0
Accepted
time: 0ms
memory: 5768kb
input:
3 IJOIIIIIIIIIIIIIIIIIJIIIIIIOIJOJIIIOIIIIIIIIJJJIIIIIJIIIIIIOIIJI
output:
36
result:
ok single line: '36'
Test #6:
score: 0
Accepted
time: 2ms
memory: 5620kb
input:
3 JJJIOIJJOOIJOJJIOIJIIOOJOOIOJJOOIJJIJIIOIIIJJOIJJIIJIJIJIOIIJJJJ
output:
33
result:
ok single line: '33'
Test #7:
score: 0
Accepted
time: 2ms
memory: 5668kb
input:
4 JIJIJJJJJIJJJJOOJJJJJOJJIJJJJJIOIJOJJIJJIJOJOJJJJJJJOJJJJJJJIOJJJOIJJOJJJOOOIJJJJJOJIOJOJIJJJOJJJJJJJJJOJJJJJJOJJJJJJJOJJJJJJJIJJJJJJJJIOJJOJJIIJJJJIJJJJJJJJIIJJJIOJJJJJJIJJIJJJIIJIJOIIJJJJJJJJJJIJIJJJOJJOJJJJOIJJJJJJJJIOOJJJIJJJOIJJJJJIJJJOJJJJOJIIJJJJJJJ
output:
154
result:
ok single line: '154'
Test #8:
score: 0
Accepted
time: 0ms
memory: 5676kb
input:
4 JIJIJIJIIIJOIIJIOJJJOIJIIJJJIOJIJJOIIOIIOJOJIOIOOOIJJJJIOJOOIJOIJIIJIIIJIIIIJOJIOJIIIOJOJJIOOJJJIJJJOJOJJIOJJJJOOOJJOJOIJOIOJJJIJJJOOOJIJIIIJIIIOIJJIIIIOJIIIOOIOJJIOJOOIIJOIOIIIOJJOIIJIOIJIIIJJOJOJOIOOOIJIJOJIIIOJOOIIIJIIOOJJIJIIIJOOJIJIIOIOJOJIOOOIIIJIJIJ
output:
148
result:
ok single line: '148'
Test #9:
score: 0
Accepted
time: 2ms
memory: 5676kb
input:
5 JOOJJJJOOOOOJOJJOJJJOOOOOJJOOOOOJOOJOJJJOJOJJOJOJOOJOJOOJJOOJJJJOOJJJJJOJOJJJJJJOJJOOJJJJJJOJJOJOJJJOOOOOOJJOJJOJJJJOOJOJJOJJJJJJJJJOJJJJJJJJOOOJJJJOJJJJOJOOOOJJJJOOJJJOJOOJOOJJJJJOJOJOJJJJOOJJJJOOJJOOJOJOJOJJJJJOJOOJJJJOOJOJJOJJJJOOJJJOJJOJJOJOOJOJJJJJOJOJJJOJJJJOOOOJOOJJOJOJJJOOOJJOJOOJJJOOJJJOO...
output:
652
result:
ok single line: '652'
Test #10:
score: 0
Accepted
time: 0ms
memory: 5496kb
input:
5 IJJJIJJOOJJIIIIIIJIJIOIIIJIIJIJIIOJJOIJJIJJJJIJIIJJIJJJIOIIIJJJIIIIIJOJJOJIIIJIJIIJOIJIJJJOJOOIIJJJIIJJIOJJIIIJJIOIIJIIOIIIJOJIIOIIIOIIIIJJIIJIIJIIJIOIOJJIIIJIJIIJIIIJIJIIJJIIJJIIJOIIOIJOIJJJJOJJOJOIIOJIIIOJIIIIJIOOOIOIJIIIIOOIJJJIJIJIIIJIJJJJIJIJJIIIJIOOJIJJIIIJIIJIOIJIIIJIJJIIIIJIOIJOIOIIJJOIIII...
output:
653
result:
ok single line: '653'
Test #11:
score: 0
Accepted
time: 3ms
memory: 5620kb
input:
1 IJJO
output:
0
result:
ok single line: '0'
Test #12:
score: 0
Accepted
time: 3ms
memory: 5676kb
input:
2 IIIJJIIJOJJIOOOI
output:
3
result:
ok single line: '3'
Test #13:
score: 0
Accepted
time: 3ms
memory: 5752kb
input:
3 JJJJJJJJJIJJJOOOOOOJOJOIOOOOOJJIIIIIOIIIIIIIIJJJJOOOIIIIIJJIIJJJ
output:
9
result:
ok single line: '9'
Test #14:
score: 0
Accepted
time: 2ms
memory: 5672kb
input:
4 IIIIIIJIIIIIIIIOIIIIIIIOIJIIIIIIIIIIIIIIIIJIIIIIIIIJIJIIJOIOJJJJIJJJJOJOOOJOOOOOOOOOOOOOJIIJIIIIIJIIIIIIJJIJOOOIIOOJJIIIJJIJJJJJJJIJJJJIJJIIJJIIJJJJJJJJOJJJJIJJJJJIJJJJJJJOJJJJJJJJJJJJIOOOOOOOOOOOOOOOOOOOJJOJIOIOOIJOIIOOOOOOOOOOJOIJOOOOJOOOOOJOJIOOIIIIIIII
output:
51
result:
ok single line: '51'
Test #15:
score: 0
Accepted
time: 2ms
memory: 5684kb
input:
5 OOOOOOOOOOOIOOOOOOJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOIOOJOOOOOOOOOOOIOOOOOOOOJOOOOOOOOOIOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOJOOOOOOOOOOIOIIIIIIIIIIIIOIIIIIIOIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJIIIIIIIIIIIIIIIIIIIIIIIIIIJIIIIIIIIIIIIIIIIIIIIIIJIIIIIIIIIIOII...
output:
45
result:
ok single line: '45'
Subtask #2:
score: 70
Accepted
Dependency #1:
100%
Accepted
Test #16:
score: 70
Accepted
time: 2ms
memory: 5596kb
input:
6 OOJOIJIJOIJIIIIJIJJIIOOOOIIJOOIJOOJOIJIJJJJOIOJOOIJIIJIJIIOJJJJJJJJOIJOIOOOJIIOOIJJIIIIOIIOIIJJOIJJIJIJOOIIIIJOJOOOOOJJIJIOIIOIIOOIJJIIOIJIOJOJIOJJJIIJIJIJOOIOIIOJJIJJIJOJIIJIJOIJJIOOJOIIJIOJOIJIJIIJOIOOOJIOOIOJOIIIJOJJOOJOIJJIJIIJOIIJOJJOOJIOIIIJIJOIOIOIOIJIJOIOJIOIIJOJOJIJIIIIOIOJOIJIOIIJOIJOIII...
output:
2664
result:
ok single line: '2664'
Test #17:
score: 0
Accepted
time: 3ms
memory: 5664kb
input:
6 JIIIIOIOOJIOOOJIIOJIIJIOIJOIIOIIJIOIIOOIIOJOOJOIOIIIJIJOIOOIOOIOOOJJOIOOOJJOJOOJOOIOOOOIOIOOIOIOIJOIIIOIJIOOIOOJOOIOOIJIIIIJOOOIOJIOOOIOOIOIIOOIOOIIOJOOOOOIIIJIOOOIOIIJIIIIOOIOOJOIOJIJOIOIIOOJIIIIOOOOIOIJOOJJOIIIJOIJIIJOOJIJIOOJIOIOJIJOIOOOJIIOJIOIIIOIIIIOJOIJJIOIOIOOOOIOIIJJIIIIOOOOIOIOOIIOOIJJOO...
output:
2638
result:
ok single line: '2638'
Test #18:
score: 0
Accepted
time: 0ms
memory: 5680kb
input:
6 OIIJJOJOJIJJIIJIOJJOJIOJIJJJIJJJOIJJIIOJJIOIJJJJIIJIJJOJIIJOOOJOJOOOJIOJIJJJOIIJOJJJJJJJOJIOJJJJOJIIJIJIJIOIIJJIJIJJOJIOJJJOJJJJOJOIOIIIJOJJJJIIJIJJJJOIJIJJIJJIJIJJJIJJIJIJOIIJOJJJOJJJIIJIJOJIIJJJJIIIJJJIIOJJIJIJJIIIJIIIJJIJJOIOJOJIIOJJJJIIOIJJOJJJIJJJJIJIIOJIIJJJOJOJJJJIIJIIIJJJJIIJJOJJOOOIJIIJJJ...
output:
2655
result:
ok single line: '2655'
Test #19:
score: 0
Accepted
time: 3ms
memory: 5680kb
input:
6 OOJJJJJIOJJJJJOJOJJJJJJJJJJJJJJJJJOJJJJJJJOJOJJJJJJJOJJJOJJJJJJJOJOOJJJOJJJJJJJJJOOOJJJOJJJJJJOOJJIJJOOJJJJJOOJJJJOOJOJOOJJJJJJJJJJJJJJJJJJJJOJOJJJJOJJJJJOJJJJJJJJJJJOJJJJJJOJJOJJJOJJJJJJJJJJJOJJJJJJJJJJJOJJJJJJJJJJJJJOJJJOJJJJJJJJJOJJJJJJOJJOOJIJJJJJOJJOJJJJJJJJJOJJJJJJJJIOJJJJJJOJJJOOJJJJJOOOJJJ...
output:
2672
result:
ok single line: '2672'
Test #20:
score: 0
Accepted
time: 1ms
memory: 5732kb
input:
7 OOOIOJJJIJIIIOJIIOIJOIOIIJOJOOOOOJOIOJIIOJJJOIJOIIIJJOJOJIIIOJOJJOOIIIOJIOOJOJIIOIOIJOJIOOJJOOIOIIOIJOIOJIOIOOJJOIJOOIIOIIIOIIIIIOJOJIJOIIJIOIIJJIJIIJIJIIIIIOJOJOIOOJIOJJIOIJJIJJOJOOOIIOOJIOIJIIIOOIIOOJIOJOJJJJOJJIIOJJIOJIJJOJIOIJJOOIOJOIIJOJJIIOOJIIJJIIOJJJOJOJJJOJJOOOIJJOJJOIJJOOOOJOJJOIJJIJOOJJ...
output:
10766
result:
ok single line: '10766'
Test #21:
score: 0
Accepted
time: 3ms
memory: 5656kb
input:
7 IIJOJOIJIJJJIOJIJIIIIJIJIJOJIJOJJOJJIIOOOIOOOOJJIOIIIOOIJJJJJIOIJJIJIIOJJOJIOJOJJOJJOIOOIIJIIIOOJIJJIOOIIOJIOIJIIIOJIJJJJJIJJIIJJJIJOJOIOOJIJIJJOJJIJIIIIOJJOOIJIJJOJJJIIIOJJJIJIJIJIJJJIIJJJJJOJOIJOJOIJIOIOOJIIIIJJIJOIJOJIJOJJJOJJOJIOJJIIJIJIJIOOJJOOOIOOIOOIIIJJOJOIIOIJIIIIIJIIOIJIOJIIJIIOJIOJIJIOI...
output:
10762
result:
ok single line: '10762'
Test #22:
score: 0
Accepted
time: 1ms
memory: 5704kb
input:
7 IIJJJJIIIIIIJIIJIIIJIIIJIIIIIIIJIIJIIIIJJIJJJJIIJJIJIIJJIJJJJJIIIIJJJJJJIJIJIJJIIJJJJJJJIIJJIIJJIIJIJJIJIIJIIJJJIIIIIJJIJJIJJIJJJIIJIJJJIIJJIIIJJJJJIJIIIJIJJIIJIIIIJIIIIIJJIIIIJJIIIIJIIIJIJIJIJIJJJJIJJJJIIJJIIJIIJIIJJIIJJJJIIIIJIJIIJJJJJJIIIJIJJIJIJJJJIIIIJJJJJIIJJJIJIJIJIIIJJJIIJIIIIJJIIJJIJIIJII...
output:
10777
result:
ok single line: '10777'
Test #23:
score: 0
Accepted
time: 3ms
memory: 5784kb
input:
7 IIIOOIIOOOIOIIOIIOIIIOIJJIIOJJIOOOOIOOIIIIOOOIIOIOIIOOOOIJIJIJJOJJIIIOIOOIOOIIIOJOIIIOIOOIIIIOIJIOIOIIIIJOOJOIIIOOOJOOIIOIIIOJOIOOJIOIIJOIIIIIJOIOIIOIIIOIIJJOIOJJIOIOOIIIIIIOIOIJIOIIOIIOOOIIIIJOIJIIIIIOJIOIOJIIIIIIJOOJOOIJIJIIJIOIOIOIOIIIIOIIOJJIIOIOIIJOIOIOJIIIOOJIIOIIIIIOOIOOOIIJIIIIOJIOIIOIIOII...
output:
10767
result:
ok single line: '10767'
Test #24:
score: 0
Accepted
time: 5ms
memory: 5828kb
input:
8 OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO...
output:
43690
result:
ok single line: '43690'
Test #25:
score: 0
Accepted
time: 0ms
memory: 5788kb
input:
8 IJOOJJOIJIJJOOOIJIOOJOJOJJOJJOJIJJOIIOIIIOOOOOOOJOIJOIJOIIIOOJOOIIIOJIOJIOIOIIOJIOIIOIIIJJJJJIIOOIIJOIOJOOOIIOJOOOOJIOIJIIJOIIJJIOJOJOOJJOJJJOIJIOJOOJJIJOJIJJJJJOOIIOIJIOOJIJOJIOJJOIOOOJJJJJIIOIOOIOOJIOJOIJOJOJOJOJIOIIOOIIJOOIJOOJJOIIJOOIIOJIOOIIJJOJIIJIIIOOOIJJIJIJOOIJJIOOIJOOIIJIJJOJOJOIJJOOJIOI...
output:
43361
result:
ok single line: '43361'
Test #26:
score: 0
Accepted
time: 1ms
memory: 5836kb
input:
8 IOJOIIOOIIOOOOIIOIIOIIIOJIIOJOIJIOJOOIIOIIIIIOJIIJIIOIOJOIIOOOIIIOOIJIIIIOIIJOIJIOIOIJOJJJIOIIOIJIIOIOJIIIJOIOIIOOIOOIIIIJOOOJJIOOJOIIIJOIOIJOJOIJIJOIOOJIIOIOIOIOOOIIOIOOOOIOOJOIIOOIOIJJIJIJJIJIOJIOIOIIIOOOOOJOOOOIJIIOOOOIIOIIJJIIOJJOIIOJIJOIOOIIJOOOOJOIOOOIIIIOOJIJOIIIOOOIIIOOJIIOOJJIIJIIIIOJIIOJ...
output:
43417
result:
ok single line: '43417'
Test #27:
score: 0
Accepted
time: 5ms
memory: 6008kb
input:
8 OOOIIOOOOOIIIOIIOIIIOOIJIIIOJOOIOIIOIOJIOIOIIJJIOIIJIJOIOIIOIJIOIJIOIIIIOOOOIIOOIIOOIIIIIJIOOOOIIIIOIIOIIIIIOIIIOOIOJIIOOIIOJIIIIOIOIIIIIOIIIOOIOIIIOOIOIOIJOOOOJJIIIOOIIIOIIOOOIIIIOIIIOIIIOIOIOIIIOJIIIIOIIIIIIIOIIIJIOIOIIOIIOIOOIIJIIJIIIIOOIIIIIIIOOIOOJJOIIOIIOIJOOIIIJOIOIOJIIJIOOJIIIOIJJOIOOJIJIO...
output:
43367
result:
ok single line: '43367'
Test #28:
score: 0
Accepted
time: 9ms
memory: 11608kb
input:
9 OJIIOIJIOOOOJJOJOIJJIOOJOIJOJOIJIOJOJJJIIOIOIJIOOOIIJIJOOOJIJIJOOOIIJOOJOJIJIOIJIOJJJJOOOIJOJOJOIJOIJJOIOOOJOOOIIIJJJJIJJIIJIJJIJOJIJIIJJOJOOIJIOIIJOJJOJJOOOJOJJIIIJJJIIIOOOJOJIIOIIIOOIOOOOOIOJIJJIJJJOJOIIJIOJJOOIJOJJIJIJIJIIJOOIOOJIIIIIIOJIJJJJOIOJJJJJIOOOOIOIOIIJOJJIOOIOJIOIJIJIIIOJOJIJJJOIIJOJI...
output:
174326
result:
ok single line: '174326'
Test #29:
score: 0
Accepted
time: 13ms
memory: 11180kb
input:
9 IIJOJOIOJIIOIJIJJJJJJIJIJJJIOJIIOJIIJOJOIOOIIJJJIIOIJIJIJIIJJIIIIJOOIOOJIJOOJIOOIOJJJIJJIJJOJIOOIIJOJJJOIOJIJOJIJOOJJIJIJIJOJJIOIJOOJIIIJJOIIJIJJIIJIOJIJIIIOIIJJJIJJIJIIJIJIIIJOIIIIJIJJIIJOJJJJIIIIJJOJJIJOOIIJIJIJIIIIJIIJOJIJJJJJJOJJIJJIOJIJJOIIOOIIJJJJOJIIJIOIOJIIIJJIJIJIIOJIJJIOOIIOJIIIOOOOOIIII...
output:
174037
result:
ok single line: '174037'
Test #30:
score: 0
Accepted
time: 13ms
memory: 11212kb
input:
9 OOOOOOOOOOOOOJOOOOIOOOOOOOOOOOOOOOOOOOOIOOOOOOOJOOOOOIOOOOOOOOIIOOJOOOOJOOOOOOOOJOIOOOOOOOOOOOIOOOIOOOOOIOOOOOOJOOIIOIOOOOIOOOIOJOOOOOJOIOOOOOOOJIOJOIJIOOJOOOOOIIOOOOOOOOOOOOOOOIOOIOIJOOOIOIOOOOOOOOOOIIOOJOIOOOOOOOOIOOOOIOOOOOOOIOOIOOOOOOOOOOOIOOOJIIJOOOOOOOOOIOIIJOOOOOOOOOJOOOOOOOOOOOOJIOIOJOOOOO...
output:
174244
result:
ok single line: '174244'
Test #31:
score: 0
Accepted
time: 18ms
memory: 11656kb
input:
9 OOOOOOOOIOOIOIIIOOIIOOIOOIOIOJOOOOOOOOIJOIIIOIOOIOIIOIIOIOIJOOJOIOIIJOJOJIOJJIOOOIOIOJJOOOIOOOOOIIOOIOOOJJIOJIIIOOOOIIOOIJJIOIOJOJOOOOOOOOIIJOOOIOOIJOIOJJIJJJOOOOOOJJOOOOOJIOOJOOOIJOOIOIIIOOOOIIOOIIOOIOJOOJJOOIOIIOIOOJJIOIOOOIIIJJOJOIOJIJOOIIJOOOOOJJJIOOOOOIJIOOIOIOJOIIJOOIOOOIOOIIOOOJOOOOOOOIIOJO...
output:
174075
result:
ok single line: '174075'
Test #32:
score: 0
Accepted
time: 58ms
memory: 30160kb
input:
10 JIOIOJIOIJJJOOJJIJOIJOIOIIOOJIJIIIOIOOIOJOIJIOOJOOIJIIOIIOOIJOOOIJOIOIOJOJIOIJOIOOJIIOJJOIJIOJJIOOJOJOOOOJJJIIIOOJIIIOOIIIJIJIJIOOJIOIJOJIJIJJJOOOIIIJOIIIOOIOOOJOIOIJOJOIIIOIJIIOJOOOOIOOJJIIOIJOOOIOIOOOJIOIOJJOOOJIOOIIIIJIIOJIOJJOJOIIOJJJJIJJOOIIOIOJJIOJIOIOOOJJIJOJOOIOJOOIJOIIOOJIOJJIIJOIIJJJIIO...
output:
698099
result:
ok single line: '698099'
Test #33:
score: 0
Accepted
time: 53ms
memory: 30324kb
input:
10 OIOJOOIOIOJJJOOIIOJOJJOOOJJOIJIIJJOIIIJIIJOOJJOIJOIJIOIIJIJOIIIIIOIIOOIOOOOJOOJOIOJOIJIIIJIOIJJJIIIOOIIJOJOJIOOJIJJJIOOJIOJOJIJOJJJOJOOJOOIOOIIOIIOJJIIJIJOJOJOOJIIJOIOIOIOIOJJOIOJIOIJIOIIOIIJJJJOJOIJIIIOOIIIOOOOJOJJIJIOOJIJJOIJIOIJOIOOIOJOOIOIIOIJJOJJJOJIOJIJOOOJOOJOOOIIOJJOOOJIOOIIIJIIJJJOOJOIOO...
output:
698050
result:
ok single line: '698050'
Test #34:
score: 0
Accepted
time: 54ms
memory: 30160kb
input:
10 JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ...
output:
699050
result:
ok single line: '699050'
Test #35:
score: 0
Accepted
time: 51ms
memory: 30064kb
input:
10 IIOIIIIIIIIIIOIIIIIIIIIOOIOOOIOIIIIIOIIIIIOIIIIOOIIIOIIIIOIIIIIIIIOIOIIIOOOIIOIIIOIIIIIOIIOIOOIIIIIIIIIIIIIOIIIIIIIIIOIIIOIIIIIOOIOIIIOIIIIIIIIIIIIIOIIOIOIIIIIOIIIIIIIIIIIIIOIIIOIIOIOIOOIIIIIIIIIIIIIIIIIIIIIOOOIIOIIIIIIOIIIOIIIOIIIIIIIIIIOIIOIIIOOIOOIIIIIIIIOIOIOOIIOIIIIOOIOOOIIOIIIOIIIIIIIIIOIOI...
output:
698124
result:
ok single line: '698124'
Test #36:
score: 0
Accepted
time: 3ms
memory: 5676kb
input:
6 OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO...
output:
9
result:
ok single line: '9'
Test #37:
score: 0
Accepted
time: 2ms
memory: 5596kb
input:
6 OOOIOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOIOOOOOOOOOOOOOOOOOOOOOOIIIIIIIIIIIIIIIIIIIIIIIIIOIIOIIIIIIIIIIIIIOIIIIIIIIIIIIIIIIIIIIIIIIOIIIIIIIIIIIIIIIIIIIIIIIIIIIOIIIOIIIOIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJIIIIIIIIIIIOIIJIIIIIIIIIOIIIIIIIIIIIIIOIIIIIIIIIIIIOIIIIIIJI...
output:
255
result:
ok single line: '255'
Test #38:
score: 0
Accepted
time: 3ms
memory: 5700kb
input:
7 OOJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO...
output:
33
result:
ok single line: '33'
Test #39:
score: 0
Accepted
time: 3ms
memory: 5732kb
input:
7 JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJOJJJJJJJOOOOOOOOOOOOOOOOOOOOOOOOIOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOIOOOOOOOOOOOIOOOOOOOOIOOOOOOOOOOOOOOOOOOOOOOOOJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOJOOOOOOJOOOOOOOOOOJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOIOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO...
output:
718
result:
ok single line: '718'
Test #40:
score: 0
Accepted
time: 2ms
memory: 5880kb
input:
8 JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJIJJJJJJJJJJJJJJJJJJJJJIJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOIOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO...
output:
1253
result:
ok single line: '1253'
Test #41:
score: 0
Accepted
time: 3ms
memory: 6516kb
input:
8 JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ...
output:
262
result:
ok single line: '262'
Test #42:
score: 0
Accepted
time: 11ms
memory: 11820kb
input:
9 JJJJJIJJJJJJJJJJJJJJJJJJJJOJJJJJOJJJJOJJJJJJJJJJJJJJJJJJJJJJJJJJJOJJIJJIJJIJIJJJJJJJJJIJJJJJJJJJJJJJJJJJOJJJJJJJJIJJJJJJJJJJJJJJJJJJIJJJJJJJJJOJJJJJJJJJJOJJJJJJJJIJJJJJJJJJJJJJJJJJOJJOJJJJJJJJJJJJJJIJJJJJJJJJJJJJJJJJJJJJJIJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJIJOJ...
output:
18481
result:
ok single line: '18481'
Test #43:
score: 0
Accepted
time: 18ms
memory: 11908kb
input:
9 IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII...
output:
9
result:
ok single line: '9'
Test #44:
score: 0
Accepted
time: 58ms
memory: 30248kb
input:
10 JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ...
output:
0
result:
ok single line: '0'
Test #45:
score: 0
Accepted
time: 55ms
memory: 30116kb
input:
10 OOOOOOIOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOJOOOOOOOOOOOOIOOOIOOOOOIOOOOOOOOOOOOOOIOOIOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOIOOIOOOOIOOOOOOOOOJOOOOOOOOJOOOOOOOOOOJOOOOOOIOOOOOOOOOOOOOOOOOJOOOOOOOOOOOOOOOOOOIOOOOOIOOOOOOOOOJOOOOOJOOOOOOOOOOOOOOOOOOOOOOOOJOOOOOOOOOOOOOOOOOOOOOOIOOOOOOOOIOJOOOOOOOOOOO...
output:
91671
result:
ok single line: '91671'
Extra Test:
score: 0
Extra Test Passed