http://okajima.air-nifty.com/b/2010/01/post-abc6.html Lv3ããããã§ããããã»ã»30åãããã é«æ ¡çã§å¹çè¯ã解ããæ¹ãããããã http://d.hatena.ne.jp/qnighy/20100111/1263191078 # coding: utf-8 import sys m = sys.stdin.read().splitlines() # backtracking mstep = len(m)*len(m[0]) mpath = None path = set() push = lambda x: path.add(x) pop = lambda x: path.remove(x) def backtracking(x, y, step): global mstep,mpath if step >= mstep: re
{{#tags}}- {{label}}
{{/tags}}