summaryrefslogtreecommitdiff
path: root/2009/qual/b
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2011-04-08 19:33:44 +0300
committerYuval Adam <yuv.adm@gmail.com>2011-04-08 19:33:44 +0300
commitbd8b40e48c3be4e741b441c958fc601820d28d66 (patch)
treea6689ad957eb657c3542293fdfff906cae81e8e0 /2009/qual/b
parentbec7d77c22c7bb186dea9fab257d10a7de8b7bc6 (diff)
copied template to c
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)]