summaryrefslogtreecommitdiff
path: root/2009/qual/b
diff options
context:
space:
mode:
Diffstat (limited to '2009/qual/b')
-rw-r--r--2009/qual/b/b.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/2009/qual/b/b.py b/2009/qual/b/b.py
index de771a0..007bc3c 100644
--- a/2009/qual/b/b.py
+++ b/2009/qual/b/b.py
@@ -6,9 +6,7 @@ B = [chr(ord('a')+i) for i in xrange(26)]
t = int(f.readline().strip())
for case in xrange(t):
- hw = f.readline().strip().split(' ')
- h = int(hw[0])
- w = int(hw[1])
+ (h, w) = list(map(int, f.readline().strip().split(' ')))
m = [map(int, f.readline().strip().split(' ')) for j in xrange(h)]