#-*- coding:utf-8 -*- #自己实现的代码,逻辑应该是清晰的,但是比较繁琐 # string = list(input().strip().split(';')) # i,j = 0,0 # #合法字符串 # move_str = ['A','D','W','S'] # digit = [str(i) for i in range(100)] # leg_list = [] # for m in move_str: # for dig in digit: # leg_list.append(m + dig) # for s in string: # ...