summaryrefslogtreecommitdiff
path: root/2010/qual/b/b.py
diff options
context:
space:
mode:
Diffstat (limited to '2010/qual/b/b.py')
-rw-r--r--2010/qual/b/b.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/2010/qual/b/b.py b/2010/qual/b/b.py
index cb08a02..d08f928 100644
--- a/2010/qual/b/b.py
+++ b/2010/qual/b/b.py
@@ -6,7 +6,7 @@ c = int(f.readline().strip())
def gcd(a, b):
return a if b==0 else gcd(b, a % b)
-for i in range(c):
+for i in xrange(c):
t = map(int, f.readline().strip().split(' ')[1:])
l = [abs(x - t[0]) for x in t]
g = reduce(gcd, l)