# 自己的样例全部通过,传上去case就是通过0 T = int(input()) N = [] L = [] for i in range(T): n = int(input()) l = list(input().strip().split()) # 字母转数字 l = [c.replace('A', '1') for c in l] l = [c.replace('J', '11') for c in l] l = [c.replace('Q', '12') for c in l] l = [c.replace('K', '13') for...