summaryrefslogtreecommitdiff
path: root/2011
diff options
context:
space:
mode:
Diffstat (limited to '2011')
-rw-r--r--2011/qual/d/d.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/2011/qual/d/d.py b/2011/qual/d/d.py
index a958c8a..32f6101 100644
--- a/2011/qual/d/d.py
+++ b/2011/qual/d/d.py
@@ -5,8 +5,7 @@ def solve(a):
# stop if solved
while a != sol:
try:
- print "%s is not %s" % (a, sol)
- next = False
+ print "%s not sorted" % a
# first flip all pairs
for i in range(len(a)):
if a[i] != i+1 and a[a[i]-1] == i+1: