#CF1850C. Word on the Paper
Word on the Paper
题目描述
给你一个 的方格,这个方阵由小写字母和 . 组成,这些小写字母排成了竖列,它们是一个字符串,请你横向输出这个字符串。
输入格式
本题由多组测试用例构成,第一行是一个整数 (),表示测试用例数量。
输出格式
共 行,每组测试用例占一行,每行包含一个字符串。
样例
5
........
........
........
........
...i....
........
........
........
........
.l......
.o......
.s......
.t......
........
........
........
........
........
........
........
......t.
......h.
......e.
........
........
........
........
........
.......g
.......a
.......m
.......e
a.......
a.......
a.......
a.......
a.......
a.......
a.......
a.......
i
lost
the
game
aaaaaaaa
来源
Codeforces 1850C,英文题名 Word on the Paper。