题解 | #单组_二维字符数组#
单组_二维字符数组
https://www.nowcoder.com/practice/2316c1fedff14a8d91694a26c9da3310
import sys m,n = map(int,input().split()) zhan = [] for i in range(m): str = input() reverse = str[::-1] zhan.append(reverse) for j in range(m): m = zhan.pop() print(m)