All pastes #22780 Raw Edit

Something

public text v1 · immutable
#22780 ·published 2005-09-13 05:12 UTC
rendered paste body
def heuristic(self,node):
            total = 0;
            num = 0;
            for x in node.state:
                if x == num:
                    total = total + 1
                num = num + 1
            return total