⌨️
[AtCoder]ABC-049|B - たてなが
設問ページ
提出結果
def getIntMap():
return map(int, input().split())
def getStringRow(N):
return [input() for _ in range(N)]
def main():
h, w = getIntMap()
d = getStringRow(h)
for r in d:
print(r)
print(r)
if __name__ == "__main__":
main()
Discussion