QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#799972 | #9841. Elegant Tetris | rotcar07 | AC ✓ | 1ms | 3880kb | C++23 | 1.0kb | 2024-12-05 19:52:50 | 2024-12-05 19:52:52 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
constexpr char L='L',J='J',O='O',S='S',Z='Z',T='T',I='I';
#define f(a,b,c)cout<<a<<' '<<b<<' '<<c<<'\n';
int main(){
std::ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
int n,m;cin>>n>>m;
int pos=0;
for(int i=1;i<=m;i++){
string s;cin>>s;
pos=s.find('#')+1;
if(pos) break;
}
if(!pos) pos=1;
if(n==4)cout<<"1\nI 1 1\n";
else{
cout<<n<<'\n';
if(pos==n){
f(I,1,pos-3);
f(O,0,pos-2);f(L,2,pos-1);
for(int i=pos-5;i>=1;i-=2) f(S,0,i);
f(T,3,1);
for(int i=1+(pos-3)%2;i<pos-4;i+=2) f(Z,0,i);
f(T,0,pos-4);
}
else{
pos=max(pos-3,1);
f(I,1,pos);
f(O,0,pos+1);
if(pos!=1){
for(int i=pos-2;i>=1;i-=2) f(S,0,i);
f(T,3,1);
for(int i=1+pos%2;i<pos-1;i+=2) f(Z,0,i);
}
else f(J,2,pos);
for(int i=pos+3;i<n-1;i+=2) f(Z,0,i);
f(T,1,n-1);
for(int i=n-3+(n-pos-3)%2;i>pos+3;i-=2) f(S,0,i);
if(pos==1){
f(T,0,pos+2);
}
else{
f(T,0,pos-1);
f(T,0,pos+2);
}
}
}
}
这程序好像有点Bug,我给组数据试试?
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3624kb
input:
5 2 #.... .#..#
output:
5 I 1 1 O 0 2 J 2 1 T 1 4 T 0 3
result:
ok 5 actions
Test #2:
score: 0
Accepted
time: 0ms
memory: 3804kb
input:
5 4 #.... ###.. ####. #..#.
output:
5 I 1 1 O 0 2 J 2 1 T 1 4 T 0 3
result:
ok 5 actions
Test #3:
score: 0
Accepted
time: 0ms
memory: 3872kb
input:
4 0
output:
1 I 1 1
result:
ok 1 actions
Test #4:
score: 0
Accepted
time: 0ms
memory: 3880kb
input:
4 14 #... #... .#.# ###. .... .... .#.. ###. .... ..#. ...# ###. .... ....
output:
1 I 1 1
result:
ok 1 actions
Test #5:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
4 14 .#.. ##.# #.## .... ..## .... #... .### .##. #... .#.. .#.# #... .#..
output:
1 I 1 1
result:
ok 1 actions
Test #6:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
5 15 #.... .##.. ..#.. .#..# ...#. .#... ##... ..#.# ###.# ..... #.... .#### #.### ..... ##.##
output:
5 I 1 1 O 0 2 J 2 1 T 1 4 T 0 3
result:
ok 5 actions
Test #7:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
5 15 .#... ...#. .##.. ##..# .#### .###. ###.# ..### ..... ###.# .#### ...## ..... ###.# ###.#
output:
5 I 1 1 O 0 2 J 2 1 T 1 4 T 0 3
result:
ok 5 actions
Test #8:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
5 14 ..#.. ###.# ....# ..... .##.# ####. ####. ....# .#.## ##... ..... ..... ###.# #..##
output:
5 I 1 1 O 0 2 J 2 1 T 1 4 T 0 3
result:
ok 5 actions
Test #9:
score: 0
Accepted
time: 0ms
memory: 3568kb
input:
5 15 ...#. .#### ....# ##... ####. ...#. ...#. ..##. .#... ....# ...#. #...# ..... #.#.. .##..
output:
5 I 1 1 O 0 2 J 2 1 T 1 4 T 0 3
result:
ok 5 actions
Test #10:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
5 13 ....# ..##. ...## #.### #.##. ..... ..... ..### .#... ##.## #.#.. ..... .###.
output:
5 I 1 2 O 0 3 L 2 4 T 3 1 T 0 1
result:
ok 5 actions
Test #11:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
6 13 #..... ##.### ..##.. ..#.## ...#.. #..#.# #.#.## ...#.# ..###. #..... #..... ....## ###.##
output:
6 I 1 1 O 0 2 J 2 1 Z 0 4 T 1 5 T 0 3
result:
ok 6 actions
Test #12:
score: 0
Accepted
time: 0ms
memory: 3696kb
input:
6 14 .#.... ##.##. .####. ...... ...... #.##.# #.#### .##### ##.### ..#.#. .##.## ...#.. #.###. ##.###
output:
6 I 1 1 O 0 2 J 2 1 Z 0 4 T 1 5 T 0 3
result:
ok 6 actions
Test #13:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
6 14 ..#... ##.### .#.#.# ##.### ###... #.#### #.##.# .#...# ...... .##.## .#.... .##### .##### ...##.
output:
6 I 1 1 O 0 2 J 2 1 Z 0 4 T 1 5 T 0 3
result:
ok 6 actions
Test #14:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
6 15 ....#. #..### .....# ...... ..#... ...... ##.##. .#.#.. #####. #..... .....# ###... ####.# ####.# .#....
output:
6 I 1 2 O 0 3 T 3 1 T 1 5 T 0 1 T 0 4
result:
ok 6 actions
Test #15:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
6 15 .....# ##..#. ...... #...## #####. ...... .##### #####. ....#. #..### ..#### #..... ##.##. .####. #....#
output:
6 I 1 3 O 0 4 L 2 5 S 0 1 T 3 1 T 0 2
result:
ok 6 actions
Test #16:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
14 14 #............. #########.#.## ###.#####.#### ##########.#.. .............. .########..### ....#.##....## ##.#.....#.#.# #####.######## #######...#.## ...##...#..##. ###.########## .......#.#.##. ###...#..#..#.
output:
14 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 T 1 13 S 0 11 S 0 9 S 0 7 S 0 5 T 0 3
result:
ok 14 actions
Test #17:
score: 0
Accepted
time: 0ms
memory: 3544kb
input:
14 13 .#............ .#..#.##..#... ....#...#...## ..#..####.#... #.#.####.##### .#..##.#.##... .#####.#####.# ####...#.###.. .#....#....#.# #....##...#... .##.#.####.#.# ...#..#.#...## ..#...........
output:
14 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 T 1 13 S 0 11 S 0 9 S 0 7 S 0 5 T 0 3
result:
ok 14 actions
Test #18:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
14 14 ..#........... .............. ...#..#.#####. ####.######### ..###....#..#. #.......#..... #.#...#.....#. #####.#.#.#.#. #.#####.###..# #########.###. ##.###.####### ###.###.####.# #####.#######. ...#...#...#..
output:
14 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 T 1 13 S 0 11 S 0 9 S 0 7 S 0 5 T 0 3
result:
ok 14 actions
Test #19:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
14 13 ...#.......... ..#.####....#. #####.######## .#.##.##.##.#. ........#.#... #######.###### ###########.## .###.#######.# ..........#... ...#.#..##.#.# .............. ........#..#.. ######..##..##
output:
14 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 T 1 13 S 0 11 S 0 9 S 0 7 S 0 5 T 0 3
result:
ok 14 actions
Test #20:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
14 13 ....#......... .............# ..##...##.#... .........#.... #####.###.#### #.###..###..#. .##.#.#.#...#. .....#........ #.#.#..#.###.# .#............ #...##.#.#.... ##.##..#..##.# ...#######....
output:
14 I 1 2 O 0 3 T 3 1 Z 0 5 Z 0 7 Z 0 9 Z 0 11 T 1 13 S 0 12 S 0 10 S 0 8 S 0 6 T 0 1 T 0 4
result:
ok 14 actions
Test #21:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
14 14 .......#...... .####.######## ........####.. ##########.### .............. #####.##..##.# .............. #..#.#.##.#... .###.##.#.#### #######.##.##. .............. ##.###.####### ##.###.#####.# .###.#..#..#.#
output:
14 I 1 5 O 0 6 S 0 3 S 0 1 T 3 1 Z 0 2 Z 0 8 Z 0 10 Z 0 12 T 1 13 S 0 11 S 0 9 T 0 4 T 0 7
result:
ok 14 actions
Test #22:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
14 15 ........#..... .....###...#.. #..#.#####.### #..#...##...## ##..###.####.# .#.##..#...#.. #.####..#...#. .#..##.####.#. ...........##. #...##....##.. .#...#........ #.#..#.#.#.#.. ##....###.#.## ..##.#.#..##.. #.....#.#####.
output:
14 I 1 6 O 0 7 S 0 4 S 0 2 T 3 1 Z 0 1 Z 0 3 Z 0 9 Z 0 11 T 1 13 S 0 12 S 0 10 T 0 5 T 0 8
result:
ok 14 actions
Test #23:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
14 13 ...........#.. ...#.##....### #....#######.. #.#.#...####.# #...#..###..#. #####.###.#.## .#.###.###..#. ########.##### ###.......#.#. #..##..###..## ....#.#...#... #####..##..### #.###.#.######
output:
14 I 1 9 O 0 10 S 0 7 S 0 5 S 0 3 S 0 1 T 3 1 Z 0 2 Z 0 4 Z 0 6 Z 0 12 T 1 13 T 0 8 T 0 11
result:
ok 14 actions
Test #24:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
14 13 ............#. #######.####.# .............. ......#....... ...#.......... ..#..###....## .............. #............. #####.#####.## .......#....#. ##.##...##..## #.......#..... ###....#.#.###
output:
14 I 1 10 O 0 11 S 0 8 S 0 6 S 0 4 S 0 2 T 3 1 Z 0 1 Z 0 3 Z 0 5 Z 0 7 T 1 13 T 0 9 T 0 12
result:
ok 14 actions
Test #25:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
14 15 .............# ##...#..##..## .###....#.##.. .#.#.##..##.## #.##.#####.### ..#........... .....####..### #.....#.#..... ..#...#....... #######.##.#.. ##...###.##### #...#..####.## ........#.#.#. .#.#####.#.### ######.##..###
output:
14 I 1 11 O 0 12 L 2 13 S 0 9 S 0 7 S 0 5 S 0 3 S 0 1 T 3 1 Z 0 2 Z 0 4 Z 0 6 Z 0 8 T 0 10
result:
ok 14 actions
Test #26:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
15 15 #.............. #...##....#.### #######.#..###. #.............. .........#...#. ###..#...#.##.. .......#..#.... ......#........ ..#..##...#.... #.############# #.............. #..###.##.###.# .#..........#.. .#.##.#..#..... ...#.#...###.##
output:
15 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 T 1 14 S 0 13 S 0 11 S 0 9 S 0 7 S 0 5 T 0 3
result:
ok 15 actions
Test #27:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
15 14 .#............. ##..#########.# .############## .......#.....#. .#.......#...#. .#######.#####. ##..#.#####...# ##.##.###.##### ..##.#.#.#..#.. #......#.##.... ..##...###...#. ......#.#....## .##..###.#####. #######..######
output:
15 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 T 1 14 S 0 13 S 0 11 S 0 9 S 0 7 S 0 5 T 0 3
result:
ok 15 actions
Test #28:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
15 15 ..#............ #.##..####.#.## .....#.....#.#. #....##........ .......#....### .............#. #..########...# .#.#..#.###.#.# ............... .......#...#... ..#####.#.##.## ####.########## ###.####.#.###. ..#.#...#...##. ##..#.#####.###
output:
15 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 T 1 14 S 0 13 S 0 11 S 0 9 S 0 7 S 0 5 T 0 3
result:
ok 15 actions
Test #29:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
15 14 ...#........... ............... ############.## #.#####..####.# ..###..#....#.. #####.###.##### .....#......#.. ....#.....###.. ......#.#..#... #.#.#..#.....## ............... ............... #####.##.#####. ..#....#.###...
output:
15 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 T 1 14 S 0 13 S 0 11 S 0 9 S 0 7 S 0 5 T 0 3
result:
ok 15 actions
Test #30:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
15 15 ....#.......... .#####.######## #....#.......#. #.#########..## #.###....#..... ......#....#... #.#.#..##.##### ............... #..#.#.#.....#. #######.##..#.# #.##.#####.#### ####..###.###.. ...#.....##...# ###########.#.. ##.#..#..###..#
output:
15 I 1 2 O 0 3 T 3 1 Z 0 5 Z 0 7 Z 0 9 Z 0 11 Z 0 13 T 1 14 S 0 12 S 0 10 S 0 8 S 0 6 T 0 1 T 0 4
result:
ok 15 actions
Test #31:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
15 15 .......#....... ##...#.#...#... #####.#.####### .#..######..#.. ...##.###...### ............... .###........... #####.##.##..## .####.#.######. ..#..#.#..#.... ##.##.##.##.### .#....###.##.## #####.######### #.###.###.##### ......#..##..#.
output:
15 I 1 5 O 0 6 S 0 3 S 0 1 T 3 1 Z 0 2 Z 0 8 Z 0 10 Z 0 12 T 1 14 S 0 13 S 0 11 S 0 9 T 0 4 T 0 7
result:
ok 15 actions
Test #32:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
15 14 ........#...... ...#.#..#...... .###.#####...## ...#........... ######.#...#..# ...#.#.#.#..... ...##.#####.### .##.....###..## ####.#####.#### .........##.... ............... ##.#.##.#.##.## ............... .....#...###...
output:
15 I 1 6 O 0 7 S 0 4 S 0 2 T 3 1 Z 0 1 Z 0 3 Z 0 9 Z 0 11 Z 0 13 T 1 14 S 0 12 S 0 10 T 0 5 T 0 8
result:
ok 15 actions
Test #33:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
15 15 ............#.. ...#....#..#.#. ..###.##.###### ######.######## ###.###.#..#### .#.#.#..##...#. ..#.###..####.. ............... .#.#.......##.# ###..###..##.## #..#....###...# ...##.####.#..# #.............. .........#..... .#......#.....#
output:
15 I 1 10 O 0 11 S 0 8 S 0 6 S 0 4 S 0 2 T 3 1 Z 0 1 Z 0 3 Z 0 5 Z 0 7 Z 0 13 T 1 14 T 0 9 T 0 12
result:
ok 15 actions
Test #34:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
15 14 .............#. #........#..... ..#.###..##.##. .#..###....###. #.#####.###.### ##.#####.#.##.# ............... .######.###.##. ##.###..#...#.. ######.######## #.#####.####..# ....#.#........ ..#......#..... ###.##.####....
output:
15 I 1 11 O 0 12 S 0 9 S 0 7 S 0 5 S 0 3 S 0 1 T 3 1 Z 0 2 Z 0 4 Z 0 6 Z 0 8 T 1 14 T 0 10 T 0 13
result:
ok 15 actions
Test #35:
score: 0
Accepted
time: 0ms
memory: 3872kb
input:
15 15 ..............# .#...##.###.... ##.#...######## #...##.#.###.#. #####.####.#### ............... .###..#.#...### #.#.....#.#.### .###.####.#.#.. ##..####.###### ........#...... #######.#.##.## .#..#####.##.## #.#...###.#.##. ...............
output:
15 I 1 12 O 0 13 L 2 14 S 0 10 S 0 8 S 0 6 S 0 4 S 0 2 T 3 1 Z 0 1 Z 0 3 Z 0 5 Z 0 7 Z 0 9 T 0 11
result:
ok 15 actions
Test #36:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
994 14 #.......................................................................................................................................................................................................................................................................................................
output:
994 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 Z 0 14 Z 0 16 Z 0 18 Z 0 20 Z 0 22 Z 0 24 Z 0 26 Z 0 28 Z 0 30 Z 0 32 Z 0 34 Z 0 36 Z 0 38 Z 0 40 Z 0 42 Z 0 44 Z 0 46 Z 0 48 Z 0 50 Z 0 52 Z 0 54 Z 0 56 Z 0 58 Z 0 60 Z 0 62 Z 0 64 Z 0 66 Z 0 68 Z 0 70 Z 0 72 Z 0 74 Z 0 76 Z 0 78 Z 0 80 Z 0 82 Z...
result:
ok 994 actions
Test #37:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
994 13 .#......................................................................................................................................................................................................................................................................................................
output:
994 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 Z 0 14 Z 0 16 Z 0 18 Z 0 20 Z 0 22 Z 0 24 Z 0 26 Z 0 28 Z 0 30 Z 0 32 Z 0 34 Z 0 36 Z 0 38 Z 0 40 Z 0 42 Z 0 44 Z 0 46 Z 0 48 Z 0 50 Z 0 52 Z 0 54 Z 0 56 Z 0 58 Z 0 60 Z 0 62 Z 0 64 Z 0 66 Z 0 68 Z 0 70 Z 0 72 Z 0 74 Z 0 76 Z 0 78 Z 0 80 Z 0 82 Z...
result:
ok 994 actions
Test #38:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
994 13 ........................................................................................................................................................................................................................................................................................................
output:
994 I 1 663 O 0 664 S 0 661 S 0 659 S 0 657 S 0 655 S 0 653 S 0 651 S 0 649 S 0 647 S 0 645 S 0 643 S 0 641 S 0 639 S 0 637 S 0 635 S 0 633 S 0 631 S 0 629 S 0 627 S 0 625 S 0 623 S 0 621 S 0 619 S 0 617 S 0 615 S 0 613 S 0 611 S 0 609 S 0 607 S 0 605 S 0 603 S 0 601 S 0 599 S 0 597 S 0 595 S 0 593 ...
result:
ok 994 actions
Test #39:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
994 15 ........................................................................................................................................................................................................................................................................................................
output:
994 I 1 989 O 0 990 S 0 987 S 0 985 S 0 983 S 0 981 S 0 979 S 0 977 S 0 975 S 0 973 S 0 971 S 0 969 S 0 967 S 0 965 S 0 963 S 0 961 S 0 959 S 0 957 S 0 955 S 0 953 S 0 951 S 0 949 S 0 947 S 0 945 S 0 943 S 0 941 S 0 939 S 0 937 S 0 935 S 0 933 S 0 931 S 0 929 S 0 927 S 0 925 S 0 923 S 0 921 S 0 919 ...
result:
ok 994 actions
Test #40:
score: 0
Accepted
time: 1ms
memory: 3636kb
input:
994 13 ........................................................................................................................................................................................................................................................................................................
output:
994 I 1 991 O 0 992 L 2 993 S 0 989 S 0 987 S 0 985 S 0 983 S 0 981 S 0 979 S 0 977 S 0 975 S 0 973 S 0 971 S 0 969 S 0 967 S 0 965 S 0 963 S 0 961 S 0 959 S 0 957 S 0 955 S 0 953 S 0 951 S 0 949 S 0 947 S 0 945 S 0 943 S 0 941 S 0 939 S 0 937 S 0 935 S 0 933 S 0 931 S 0 929 S 0 927 S 0 925 S 0 923 ...
result:
ok 994 actions
Test #41:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
995 13 #.......................................................................................................................................................................................................................................................................................................
output:
995 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 Z 0 14 Z 0 16 Z 0 18 Z 0 20 Z 0 22 Z 0 24 Z 0 26 Z 0 28 Z 0 30 Z 0 32 Z 0 34 Z 0 36 Z 0 38 Z 0 40 Z 0 42 Z 0 44 Z 0 46 Z 0 48 Z 0 50 Z 0 52 Z 0 54 Z 0 56 Z 0 58 Z 0 60 Z 0 62 Z 0 64 Z 0 66 Z 0 68 Z 0 70 Z 0 72 Z 0 74 Z 0 76 Z 0 78 Z 0 80 Z 0 82 Z...
result:
ok 995 actions
Test #42:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
995 13 .#......................................................................................................................................................................................................................................................................................................
output:
995 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 Z 0 14 Z 0 16 Z 0 18 Z 0 20 Z 0 22 Z 0 24 Z 0 26 Z 0 28 Z 0 30 Z 0 32 Z 0 34 Z 0 36 Z 0 38 Z 0 40 Z 0 42 Z 0 44 Z 0 46 Z 0 48 Z 0 50 Z 0 52 Z 0 54 Z 0 56 Z 0 58 Z 0 60 Z 0 62 Z 0 64 Z 0 66 Z 0 68 Z 0 70 Z 0 72 Z 0 74 Z 0 76 Z 0 78 Z 0 80 Z 0 82 Z...
result:
ok 995 actions
Test #43:
score: 0
Accepted
time: 0ms
memory: 3880kb
input:
995 15 ........................................................................................................................................................................................................................................................................................................
output:
995 I 1 570 O 0 571 S 0 568 S 0 566 S 0 564 S 0 562 S 0 560 S 0 558 S 0 556 S 0 554 S 0 552 S 0 550 S 0 548 S 0 546 S 0 544 S 0 542 S 0 540 S 0 538 S 0 536 S 0 534 S 0 532 S 0 530 S 0 528 S 0 526 S 0 524 S 0 522 S 0 520 S 0 518 S 0 516 S 0 514 S 0 512 S 0 510 S 0 508 S 0 506 S 0 504 S 0 502 S 0 500 ...
result:
ok 995 actions
Test #44:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
995 15 ........................................................................................................................................................................................................................................................................................................
output:
995 I 1 990 O 0 991 S 0 988 S 0 986 S 0 984 S 0 982 S 0 980 S 0 978 S 0 976 S 0 974 S 0 972 S 0 970 S 0 968 S 0 966 S 0 964 S 0 962 S 0 960 S 0 958 S 0 956 S 0 954 S 0 952 S 0 950 S 0 948 S 0 946 S 0 944 S 0 942 S 0 940 S 0 938 S 0 936 S 0 934 S 0 932 S 0 930 S 0 928 S 0 926 S 0 924 S 0 922 S 0 920 ...
result:
ok 995 actions
Test #45:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
995 14 ........................................................................................................................................................................................................................................................................................................
output:
995 I 1 992 O 0 993 L 2 994 S 0 990 S 0 988 S 0 986 S 0 984 S 0 982 S 0 980 S 0 978 S 0 976 S 0 974 S 0 972 S 0 970 S 0 968 S 0 966 S 0 964 S 0 962 S 0 960 S 0 958 S 0 956 S 0 954 S 0 952 S 0 950 S 0 948 S 0 946 S 0 944 S 0 942 S 0 940 S 0 938 S 0 936 S 0 934 S 0 932 S 0 930 S 0 928 S 0 926 S 0 924 ...
result:
ok 995 actions
Test #46:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
996 13 ........................................................................................................................................................................................................................................................................................................
output:
996 I 1 441 O 0 442 S 0 439 S 0 437 S 0 435 S 0 433 S 0 431 S 0 429 S 0 427 S 0 425 S 0 423 S 0 421 S 0 419 S 0 417 S 0 415 S 0 413 S 0 411 S 0 409 S 0 407 S 0 405 S 0 403 S 0 401 S 0 399 S 0 397 S 0 395 S 0 393 S 0 391 S 0 389 S 0 387 S 0 385 S 0 383 S 0 381 S 0 379 S 0 377 S 0 375 S 0 373 S 0 371 ...
result:
ok 996 actions
Test #47:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
997 14 ....................................................................................................#........................................................................................................................................................................................#..........
output:
997 I 1 98 O 0 99 S 0 96 S 0 94 S 0 92 S 0 90 S 0 88 S 0 86 S 0 84 S 0 82 S 0 80 S 0 78 S 0 76 S 0 74 S 0 72 S 0 70 S 0 68 S 0 66 S 0 64 S 0 62 S 0 60 S 0 58 S 0 56 S 0 54 S 0 52 S 0 50 S 0 48 S 0 46 S 0 44 S 0 42 S 0 40 S 0 38 S 0 36 S 0 34 S 0 32 S 0 30 S 0 28 S 0 26 S 0 24 S 0 22 S 0 20 S 0 18 S ...
result:
ok 997 actions
Test #48:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
998 14 ...............#...........................................#..........#..........................#.......#.#..............#.#................................................#................................................#...........#....#.#..............#.......................................
output:
998 I 1 13 O 0 14 S 0 11 S 0 9 S 0 7 S 0 5 S 0 3 S 0 1 T 3 1 Z 0 2 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 16 Z 0 18 Z 0 20 Z 0 22 Z 0 24 Z 0 26 Z 0 28 Z 0 30 Z 0 32 Z 0 34 Z 0 36 Z 0 38 Z 0 40 Z 0 42 Z 0 44 Z 0 46 Z 0 48 Z 0 50 Z 0 52 Z 0 54 Z 0 56 Z 0 58 Z 0 60 Z 0 62 Z 0 64 Z 0 66 Z 0 68 Z 0 70 Z 0 72 Z 0 7...
result:
ok 998 actions
Test #49:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
999 13 ................#...#..#.......#...#.#.......#...#...........##...#.........#.............#..#.........#.##............#...#...#.#......#...##.....#........#.....#.#..........#..........#....#.......#......#.....#...........#...#...#.................#...#....#.......................#........#...
output:
999 I 1 14 O 0 15 S 0 12 S 0 10 S 0 8 S 0 6 S 0 4 S 0 2 T 3 1 Z 0 1 Z 0 3 Z 0 5 Z 0 7 Z 0 9 Z 0 11 Z 0 17 Z 0 19 Z 0 21 Z 0 23 Z 0 25 Z 0 27 Z 0 29 Z 0 31 Z 0 33 Z 0 35 Z 0 37 Z 0 39 Z 0 41 Z 0 43 Z 0 45 Z 0 47 Z 0 49 Z 0 51 Z 0 53 Z 0 55 Z 0 57 Z 0 59 Z 0 61 Z 0 63 Z 0 65 Z 0 67 Z 0 69 Z 0 71 Z 0 7...
result:
ok 999 actions
Test #50:
score: 0
Accepted
time: 0ms
memory: 3656kb
input:
1000 13 .......##.###.##..#..####.####...###.###.##.#.##.#.##..####.######.###...#.#.##.#.#...#####...##.#..####.#.###...##..#.###..##.##########..#..#.##..###.#.#.#####.###..####..###.##.####.#.####..###..#..##.#.##.#####..####..#.#..##.#.#.#####..#....####...##....#.###.#####.##.####.#.#####.#####...
output:
1000 I 1 5 O 0 6 S 0 3 S 0 1 T 3 1 Z 0 2 Z 0 8 Z 0 10 Z 0 12 Z 0 14 Z 0 16 Z 0 18 Z 0 20 Z 0 22 Z 0 24 Z 0 26 Z 0 28 Z 0 30 Z 0 32 Z 0 34 Z 0 36 Z 0 38 Z 0 40 Z 0 42 Z 0 44 Z 0 46 Z 0 48 Z 0 50 Z 0 52 Z 0 54 Z 0 56 Z 0 58 Z 0 60 Z 0 62 Z 0 64 Z 0 66 Z 0 68 Z 0 70 Z 0 72 Z 0 74 Z 0 76 Z 0 78 Z 0 80 Z...
result:
ok 1000 actions
Test #51:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
1000 14 #########.#####################################.########.#####.#.##############################.############################.###########.####.##################################.#####################################################.#######.#####################################.###############...
output:
1000 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 Z 0 14 Z 0 16 Z 0 18 Z 0 20 Z 0 22 Z 0 24 Z 0 26 Z 0 28 Z 0 30 Z 0 32 Z 0 34 Z 0 36 Z 0 38 Z 0 40 Z 0 42 Z 0 44 Z 0 46 Z 0 48 Z 0 50 Z 0 52 Z 0 54 Z 0 56 Z 0 58 Z 0 60 Z 0 62 Z 0 64 Z 0 66 Z 0 68 Z 0 70 Z 0 72 Z 0 74 Z 0 76 Z 0 78 Z 0 80 Z 0 82 ...
result:
ok 1000 actions
Test #52:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
996 15 ........................................................................................................................................................................................................................................................#...............................................
output:
996 I 1 246 O 0 247 S 0 244 S 0 242 S 0 240 S 0 238 S 0 236 S 0 234 S 0 232 S 0 230 S 0 228 S 0 226 S 0 224 S 0 222 S 0 220 S 0 218 S 0 216 S 0 214 S 0 212 S 0 210 S 0 208 S 0 206 S 0 204 S 0 202 S 0 200 S 0 198 S 0 196 S 0 194 S 0 192 S 0 190 S 0 188 S 0 186 S 0 184 S 0 182 S 0 180 S 0 178 S 0 176 ...
result:
ok 996 actions
Test #53:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
997 14 .................................................................................................................................................................#.......................................................................................................................#..............
output:
997 I 1 159 O 0 160 S 0 157 S 0 155 S 0 153 S 0 151 S 0 149 S 0 147 S 0 145 S 0 143 S 0 141 S 0 139 S 0 137 S 0 135 S 0 133 S 0 131 S 0 129 S 0 127 S 0 125 S 0 123 S 0 121 S 0 119 S 0 117 S 0 115 S 0 113 S 0 111 S 0 109 S 0 107 S 0 105 S 0 103 S 0 101 S 0 99 S 0 97 S 0 95 S 0 93 S 0 91 S 0 89 S 0 87...
result:
ok 997 actions
Test #54:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
998 15 .........#..............#............#..............#.....#............#.......................................#................#....#................#.......#...................................................#...............#.........#.........................................#....#............
output:
998 I 1 7 O 0 8 S 0 5 S 0 3 S 0 1 T 3 1 Z 0 2 Z 0 4 Z 0 10 Z 0 12 Z 0 14 Z 0 16 Z 0 18 Z 0 20 Z 0 22 Z 0 24 Z 0 26 Z 0 28 Z 0 30 Z 0 32 Z 0 34 Z 0 36 Z 0 38 Z 0 40 Z 0 42 Z 0 44 Z 0 46 Z 0 48 Z 0 50 Z 0 52 Z 0 54 Z 0 56 Z 0 58 Z 0 60 Z 0 62 Z 0 64 Z 0 66 Z 0 68 Z 0 70 Z 0 72 Z 0 74 Z 0 76 Z 0 78 Z 0...
result:
ok 998 actions
Test #55:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
999 15 .............#...............#...................#....#...........#..........#..##..#....#....#.........#......##...........................#.................#.................#.....#..#...............#.............#......#....#....#............#..#..#.........#......#.......#............#.#....
output:
999 I 1 11 O 0 12 S 0 9 S 0 7 S 0 5 S 0 3 S 0 1 T 3 1 Z 0 2 Z 0 4 Z 0 6 Z 0 8 Z 0 14 Z 0 16 Z 0 18 Z 0 20 Z 0 22 Z 0 24 Z 0 26 Z 0 28 Z 0 30 Z 0 32 Z 0 34 Z 0 36 Z 0 38 Z 0 40 Z 0 42 Z 0 44 Z 0 46 Z 0 48 Z 0 50 Z 0 52 Z 0 54 Z 0 56 Z 0 58 Z 0 60 Z 0 62 Z 0 64 Z 0 66 Z 0 68 Z 0 70 Z 0 72 Z 0 74 Z 0 7...
result:
ok 999 actions
Test #56:
score: 0
Accepted
time: 0ms
memory: 3852kb
input:
1000 15 #..#.###....#....#.####.#...##..#....#.###..#.#####..#....##....##.#.#..########.#.#...###.##...#..#.##.##.#.##.##...##.....##.#..##.##...#####..#.#.###.#.####....##..#..##.##.#..##..###...#.#....#..#####..####..###..#...#..##.....###...####.##.#...##.###.#..###..####...#####..###...#..........
output:
1000 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 Z 0 14 Z 0 16 Z 0 18 Z 0 20 Z 0 22 Z 0 24 Z 0 26 Z 0 28 Z 0 30 Z 0 32 Z 0 34 Z 0 36 Z 0 38 Z 0 40 Z 0 42 Z 0 44 Z 0 46 Z 0 48 Z 0 50 Z 0 52 Z 0 54 Z 0 56 Z 0 58 Z 0 60 Z 0 62 Z 0 64 Z 0 66 Z 0 68 Z 0 70 Z 0 72 Z 0 74 Z 0 76 Z 0 78 Z 0 80 Z 0 82 ...
result:
ok 1000 actions
Test #57:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
4 15 #... .##. ..## #.## ..#. #.#. .... ..#. .... #.## .### ###. #..# ..#. ....
output:
1 I 1 1
result:
ok 1 actions
Test #58:
score: 0
Accepted
time: 0ms
memory: 3528kb
input:
4 15 .#.. .### .### .... #.#. ###. .#.. ##.. #..# .... .... #... .... #.## ....
output:
1 I 1 1
result:
ok 1 actions
Test #59:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
4 15 ..#. ##.# ..#. .... .... ..#. #.## ###. .### #... .... ##.. ###. #... ....
output:
1 I 1 1
result:
ok 1 actions
Test #60:
score: 0
Accepted
time: 0ms
memory: 3528kb
input:
4 15 ...# .### .### ..#. #... #..# ..#. .... ..#. #..# ...# ###. ..#. .... ..#.
output:
1 I 1 1
result:
ok 1 actions
Test #61:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
5 15 #.... .#... ####. ##.#. ..... .###. #..## .##.. ..#.. ..... ##... .###. ..... ..... #.#.#
output:
5 I 1 1 O 0 2 J 2 1 T 1 4 T 0 3
result:
ok 5 actions
Test #62:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
5 15 .#... .#.## ###.. .#### ..##. #...# .#..# #.#.. #.#.# #.#.. ##.## #.### .###. .#... ..#.#
output:
5 I 1 1 O 0 2 J 2 1 T 1 4 T 0 3
result:
ok 5 actions
Test #63:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
5 15 ..#.. ..... .#... #.#.# ..... ###.# #..#. .###. ..... ..... ..... .##.# ###.# ....# .##..
output:
5 I 1 1 O 0 2 J 2 1 T 1 4 T 0 3
result:
ok 5 actions
Test #64:
score: 0
Accepted
time: 0ms
memory: 3528kb
input:
5 15 ...#. #.#.. ..... #.### #..## #.##. ..... ..... #..## #.#.. ..... #.... .#..# ..#.# ...#.
output:
5 I 1 1 O 0 2 J 2 1 T 1 4 T 0 3
result:
ok 5 actions
Test #65:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
5 15 ....# ###.. #.#.# ..... .#... ..... ..... ...#. .###. ..#.# ..##. #.### .#### ..##. .....
output:
5 I 1 2 O 0 3 L 2 4 T 3 1 T 0 1
result:
ok 5 actions
Test #66:
score: 0
Accepted
time: 0ms
memory: 3800kb
input:
6 15 #..... #..... #..### .#.#.. ...##. #.###. .....# #.#... ...... ...... ....#. ...... ...... #.##.# .#..#.
output:
6 I 1 1 O 0 2 J 2 1 Z 0 4 T 1 5 T 0 3
result:
ok 6 actions
Test #67:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
6 15 .#.... #.#### #...#. #####. .#..## ####.# .#.... #.#.## ...... ...... .#.#.. ...... ...#.# ..##.# .##..#
output:
6 I 1 1 O 0 2 J 2 1 Z 0 4 T 1 5 T 0 3
result:
ok 6 actions
Test #68:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
6 15 ..#... .##.## .#.### #.#### #.##.# ...... .##... #..... ...... ##.### ##.#.. #.#### ####.# #.#### #####.
output:
6 I 1 1 O 0 2 J 2 1 Z 0 4 T 1 5 T 0 3
result:
ok 6 actions
Test #69:
score: 0
Accepted
time: 0ms
memory: 3520kb
input:
6 15 ...#.. ###... #.#... .#..## ##.#.# ...... .##... .####. ##.##. ###.## ...... ##..#. ..#... .....# ......
output:
6 I 1 1 O 0 2 J 2 1 Z 0 4 T 1 5 T 0 3
result:
ok 6 actions
Test #70:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
6 15 ....#. #.#... ####.. ##..#. #.#### .....# #...#. ...... ###..# ##..#. ...#.. ....#. #.###. ####.. ....#.
output:
6 I 1 2 O 0 3 T 3 1 T 1 5 T 0 1 T 0 4
result:
ok 6 actions
Test #71:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
6 15 .....# .#.... .##... #.##.. ##.### ...#.# #.#.#. .##..# .##.## .#.##. #.#..# ..#.#. ...... ...... ##....
output:
6 I 1 3 O 0 4 L 2 5 S 0 1 T 3 1 T 0 2
result:
ok 6 actions
Test #72:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
978 15 #.......................................................................................................................................................................................................................................................................................................
output:
978 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 Z 0 14 Z 0 16 Z 0 18 Z 0 20 Z 0 22 Z 0 24 Z 0 26 Z 0 28 Z 0 30 Z 0 32 Z 0 34 Z 0 36 Z 0 38 Z 0 40 Z 0 42 Z 0 44 Z 0 46 Z 0 48 Z 0 50 Z 0 52 Z 0 54 Z 0 56 Z 0 58 Z 0 60 Z 0 62 Z 0 64 Z 0 66 Z 0 68 Z 0 70 Z 0 72 Z 0 74 Z 0 76 Z 0 78 Z 0 80 Z 0 82 Z...
result:
ok 978 actions
Test #73:
score: 0
Accepted
time: 0ms
memory: 3600kb
input:
978 15 .#......................................................................................................................................................................................................................................................................................................
output:
978 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 Z 0 14 Z 0 16 Z 0 18 Z 0 20 Z 0 22 Z 0 24 Z 0 26 Z 0 28 Z 0 30 Z 0 32 Z 0 34 Z 0 36 Z 0 38 Z 0 40 Z 0 42 Z 0 44 Z 0 46 Z 0 48 Z 0 50 Z 0 52 Z 0 54 Z 0 56 Z 0 58 Z 0 60 Z 0 62 Z 0 64 Z 0 66 Z 0 68 Z 0 70 Z 0 72 Z 0 74 Z 0 76 Z 0 78 Z 0 80 Z 0 82 Z...
result:
ok 978 actions
Test #74:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
978 15 ..#.....................................................................................................................................................................................................................................................................................................
output:
978 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 Z 0 14 Z 0 16 Z 0 18 Z 0 20 Z 0 22 Z 0 24 Z 0 26 Z 0 28 Z 0 30 Z 0 32 Z 0 34 Z 0 36 Z 0 38 Z 0 40 Z 0 42 Z 0 44 Z 0 46 Z 0 48 Z 0 50 Z 0 52 Z 0 54 Z 0 56 Z 0 58 Z 0 60 Z 0 62 Z 0 64 Z 0 66 Z 0 68 Z 0 70 Z 0 72 Z 0 74 Z 0 76 Z 0 78 Z 0 80 Z 0 82 Z...
result:
ok 978 actions
Test #75:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
978 15 ...#....................................................................................................................................................................................................................................................................................................
output:
978 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 Z 0 14 Z 0 16 Z 0 18 Z 0 20 Z 0 22 Z 0 24 Z 0 26 Z 0 28 Z 0 30 Z 0 32 Z 0 34 Z 0 36 Z 0 38 Z 0 40 Z 0 42 Z 0 44 Z 0 46 Z 0 48 Z 0 50 Z 0 52 Z 0 54 Z 0 56 Z 0 58 Z 0 60 Z 0 62 Z 0 64 Z 0 66 Z 0 68 Z 0 70 Z 0 72 Z 0 74 Z 0 76 Z 0 78 Z 0 80 Z 0 82 Z...
result:
ok 978 actions
Test #76:
score: 0
Accepted
time: 0ms
memory: 3532kb
input:
978 15 ........................................................................................................................................................................................................................................................................................................
output:
978 I 1 487 O 0 488 S 0 485 S 0 483 S 0 481 S 0 479 S 0 477 S 0 475 S 0 473 S 0 471 S 0 469 S 0 467 S 0 465 S 0 463 S 0 461 S 0 459 S 0 457 S 0 455 S 0 453 S 0 451 S 0 449 S 0 447 S 0 445 S 0 443 S 0 441 S 0 439 S 0 437 S 0 435 S 0 433 S 0 431 S 0 429 S 0 427 S 0 425 S 0 423 S 0 421 S 0 419 S 0 417 ...
result:
ok 978 actions
Test #77:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
978 15 ........................................................................................................................................................................................................................................................................................................
output:
978 I 1 972 O 0 973 S 0 970 S 0 968 S 0 966 S 0 964 S 0 962 S 0 960 S 0 958 S 0 956 S 0 954 S 0 952 S 0 950 S 0 948 S 0 946 S 0 944 S 0 942 S 0 940 S 0 938 S 0 936 S 0 934 S 0 932 S 0 930 S 0 928 S 0 926 S 0 924 S 0 922 S 0 920 S 0 918 S 0 916 S 0 914 S 0 912 S 0 910 S 0 908 S 0 906 S 0 904 S 0 902 ...
result:
ok 978 actions
Test #78:
score: 0
Accepted
time: 0ms
memory: 3536kb
input:
978 15 ........................................................................................................................................................................................................................................................................................................
output:
978 I 1 973 O 0 974 S 0 971 S 0 969 S 0 967 S 0 965 S 0 963 S 0 961 S 0 959 S 0 957 S 0 955 S 0 953 S 0 951 S 0 949 S 0 947 S 0 945 S 0 943 S 0 941 S 0 939 S 0 937 S 0 935 S 0 933 S 0 931 S 0 929 S 0 927 S 0 925 S 0 923 S 0 921 S 0 919 S 0 917 S 0 915 S 0 913 S 0 911 S 0 909 S 0 907 S 0 905 S 0 903 ...
result:
ok 978 actions
Test #79:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
978 15 ........................................................................................................................................................................................................................................................................................................
output:
978 I 1 974 O 0 975 S 0 972 S 0 970 S 0 968 S 0 966 S 0 964 S 0 962 S 0 960 S 0 958 S 0 956 S 0 954 S 0 952 S 0 950 S 0 948 S 0 946 S 0 944 S 0 942 S 0 940 S 0 938 S 0 936 S 0 934 S 0 932 S 0 930 S 0 928 S 0 926 S 0 924 S 0 922 S 0 920 S 0 918 S 0 916 S 0 914 S 0 912 S 0 910 S 0 908 S 0 906 S 0 904 ...
result:
ok 978 actions
Test #80:
score: 0
Accepted
time: 0ms
memory: 3876kb
input:
978 15 ........................................................................................................................................................................................................................................................................................................
output:
978 I 1 975 O 0 976 L 2 977 S 0 973 S 0 971 S 0 969 S 0 967 S 0 965 S 0 963 S 0 961 S 0 959 S 0 957 S 0 955 S 0 953 S 0 951 S 0 949 S 0 947 S 0 945 S 0 943 S 0 941 S 0 939 S 0 937 S 0 935 S 0 933 S 0 931 S 0 929 S 0 927 S 0 925 S 0 923 S 0 921 S 0 919 S 0 917 S 0 915 S 0 913 S 0 911 S 0 909 S 0 907 ...
result:
ok 978 actions
Test #81:
score: 0
Accepted
time: 0ms
memory: 3872kb
input:
979 15 #.......................................................................................................................................................................................................................................................................................................
output:
979 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 Z 0 14 Z 0 16 Z 0 18 Z 0 20 Z 0 22 Z 0 24 Z 0 26 Z 0 28 Z 0 30 Z 0 32 Z 0 34 Z 0 36 Z 0 38 Z 0 40 Z 0 42 Z 0 44 Z 0 46 Z 0 48 Z 0 50 Z 0 52 Z 0 54 Z 0 56 Z 0 58 Z 0 60 Z 0 62 Z 0 64 Z 0 66 Z 0 68 Z 0 70 Z 0 72 Z 0 74 Z 0 76 Z 0 78 Z 0 80 Z 0 82 Z...
result:
ok 979 actions
Test #82:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
979 15 .#......................................................................................................................................................................................................................................................................................................
output:
979 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 Z 0 14 Z 0 16 Z 0 18 Z 0 20 Z 0 22 Z 0 24 Z 0 26 Z 0 28 Z 0 30 Z 0 32 Z 0 34 Z 0 36 Z 0 38 Z 0 40 Z 0 42 Z 0 44 Z 0 46 Z 0 48 Z 0 50 Z 0 52 Z 0 54 Z 0 56 Z 0 58 Z 0 60 Z 0 62 Z 0 64 Z 0 66 Z 0 68 Z 0 70 Z 0 72 Z 0 74 Z 0 76 Z 0 78 Z 0 80 Z 0 82 Z...
result:
ok 979 actions
Test #83:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
979 15 ..#.....................................................................................................................................................................................................................................................................................................
output:
979 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 Z 0 14 Z 0 16 Z 0 18 Z 0 20 Z 0 22 Z 0 24 Z 0 26 Z 0 28 Z 0 30 Z 0 32 Z 0 34 Z 0 36 Z 0 38 Z 0 40 Z 0 42 Z 0 44 Z 0 46 Z 0 48 Z 0 50 Z 0 52 Z 0 54 Z 0 56 Z 0 58 Z 0 60 Z 0 62 Z 0 64 Z 0 66 Z 0 68 Z 0 70 Z 0 72 Z 0 74 Z 0 76 Z 0 78 Z 0 80 Z 0 82 Z...
result:
ok 979 actions
Test #84:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
979 15 ...#....................................................................................................................................................................................................................................................................................................
output:
979 I 1 1 O 0 2 J 2 1 Z 0 4 Z 0 6 Z 0 8 Z 0 10 Z 0 12 Z 0 14 Z 0 16 Z 0 18 Z 0 20 Z 0 22 Z 0 24 Z 0 26 Z 0 28 Z 0 30 Z 0 32 Z 0 34 Z 0 36 Z 0 38 Z 0 40 Z 0 42 Z 0 44 Z 0 46 Z 0 48 Z 0 50 Z 0 52 Z 0 54 Z 0 56 Z 0 58 Z 0 60 Z 0 62 Z 0 64 Z 0 66 Z 0 68 Z 0 70 Z 0 72 Z 0 74 Z 0 76 Z 0 78 Z 0 80 Z 0 82 Z...
result:
ok 979 actions
Test #85:
score: 0
Accepted
time: 0ms
memory: 3680kb
input:
979 15 ........................................................................................................................................................................................................................................................................................................
output:
979 I 1 487 O 0 488 S 0 485 S 0 483 S 0 481 S 0 479 S 0 477 S 0 475 S 0 473 S 0 471 S 0 469 S 0 467 S 0 465 S 0 463 S 0 461 S 0 459 S 0 457 S 0 455 S 0 453 S 0 451 S 0 449 S 0 447 S 0 445 S 0 443 S 0 441 S 0 439 S 0 437 S 0 435 S 0 433 S 0 431 S 0 429 S 0 427 S 0 425 S 0 423 S 0 421 S 0 419 S 0 417 ...
result:
ok 979 actions
Test #86:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
979 15 ........................................................................................................................................................................................................................................................................................................
output:
979 I 1 973 O 0 974 S 0 971 S 0 969 S 0 967 S 0 965 S 0 963 S 0 961 S 0 959 S 0 957 S 0 955 S 0 953 S 0 951 S 0 949 S 0 947 S 0 945 S 0 943 S 0 941 S 0 939 S 0 937 S 0 935 S 0 933 S 0 931 S 0 929 S 0 927 S 0 925 S 0 923 S 0 921 S 0 919 S 0 917 S 0 915 S 0 913 S 0 911 S 0 909 S 0 907 S 0 905 S 0 903 ...
result:
ok 979 actions
Test #87:
score: 0
Accepted
time: 1ms
memory: 3652kb
input:
979 15 ........................................................................................................................................................................................................................................................................................................
output:
979 I 1 974 O 0 975 S 0 972 S 0 970 S 0 968 S 0 966 S 0 964 S 0 962 S 0 960 S 0 958 S 0 956 S 0 954 S 0 952 S 0 950 S 0 948 S 0 946 S 0 944 S 0 942 S 0 940 S 0 938 S 0 936 S 0 934 S 0 932 S 0 930 S 0 928 S 0 926 S 0 924 S 0 922 S 0 920 S 0 918 S 0 916 S 0 914 S 0 912 S 0 910 S 0 908 S 0 906 S 0 904 ...
result:
ok 979 actions
Test #88:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
979 15 ........................................................................................................................................................................................................................................................................................................
output:
979 I 1 975 O 0 976 S 0 973 S 0 971 S 0 969 S 0 967 S 0 965 S 0 963 S 0 961 S 0 959 S 0 957 S 0 955 S 0 953 S 0 951 S 0 949 S 0 947 S 0 945 S 0 943 S 0 941 S 0 939 S 0 937 S 0 935 S 0 933 S 0 931 S 0 929 S 0 927 S 0 925 S 0 923 S 0 921 S 0 919 S 0 917 S 0 915 S 0 913 S 0 911 S 0 909 S 0 907 S 0 905 ...
result:
ok 979 actions
Test #89:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
979 15 ........................................................................................................................................................................................................................................................................................................
output:
979 I 1 976 O 0 977 L 2 978 S 0 974 S 0 972 S 0 970 S 0 968 S 0 966 S 0 964 S 0 962 S 0 960 S 0 958 S 0 956 S 0 954 S 0 952 S 0 950 S 0 948 S 0 946 S 0 944 S 0 942 S 0 940 S 0 938 S 0 936 S 0 934 S 0 932 S 0 930 S 0 928 S 0 926 S 0 924 S 0 922 S 0 920 S 0 918 S 0 916 S 0 914 S 0 912 S 0 910 S 0 908 ...
result:
ok 979 actions
Extra Test:
score: 0
Extra Test Passed