题解 | #多组_字符串_T组形式#
多组_字符串_T组形式
https://www.nowcoder.com/practice/35f6f4e9173943e3b3f462b697fefd8b
import sys # for line in sys.stdin: # a = line.split() # print(int(a[0]) + int(a[1])) t = int(input()) for i in range(t): n = int(input()) s = str(input()) print(s[::-1])