#include <iostream>
void printboard(char board[5][5])
{
for(int n=0;n<5;n++) {
for(int m=0;m<5;m++) {
std::cout << board[n][m];
}
std::cout << std::endl;
}
}
int main()
{
char board[5][5] = {{' ','|',' ','|',' '},
{'-','-','-','-','-'},
{' ','|',' ','|',' '},
{'-','-','-','-','-'},
{' ','|',' ','|',' '}};
printboard(board);
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdm9pZCBwcmludGJvYXJkKGNoYXIgYm9hcmRbNV1bNV0pCnsKCiAgICBmb3IoaW50IG49MDtuPDU7bisrKSB7CiAgICAgICAgZm9yKGludCBtPTA7bTw1O20rKykgewogICAgICAgICAgICBzdGQ6OmNvdXQgPDwgYm9hcmRbbl1bbV07CiAgICAgICAgfQogICAgICAgIHN0ZDo6Y291dCA8PCBzdGQ6OmVuZGw7CiAgICB9Cn0KCmludCBtYWluKCkKewogICAgY2hhciBib2FyZFs1XVs1XSA9IHt7JyAnLCd8JywnICcsJ3wnLCcgJ30sCiAgICAgICAgICAgICAgICAgICAgICAgIHsnLScsJy0nLCctJywnLScsJy0nfSwKICAgICAgICAgICAgICAgICAgICAgICAgeycgJywnfCcsJyAnLCd8JywnICd9LAogICAgICAgICAgICAgICAgICAgICAgICB7Jy0nLCctJywnLScsJy0nLCctJ30sCiAgICAgICAgICAgICAgICAgICAgICAgIHsnICcsJ3wnLCcgJywnfCcsJyAnfX07CiAgICBwcmludGJvYXJkKGJvYXJkKTsKfQ==