summaryrefslogtreecommitdiff
path: root/2010/1c/c/c.py
diff options
context:
space:
mode:
Diffstat (limited to '2010/1c/c/c.py')
-rw-r--r--2010/1c/c/c.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/2010/1c/c/c.py b/2010/1c/c/c.py
index 7bc039a..c5393d5 100644
--- a/2010/1c/c/c.py
+++ b/2010/1c/c/c.py
@@ -4,10 +4,10 @@ o = open('1.out', 'w')
T = int(f.readline().strip())
for t in xrange(T):
- (n, m, o) = map(int, f.readline().strip().split(' '))
- l = f.readline().strip()
+ (M, N) = map(int, f.readline().strip().split(' '))
+ grid = [int(f.readline().strip(), 16) for _m in range(M)]
- res = str(n) + str(m) + str(o) + l
+ res = grid
s = "Case #%d: %s\n" % (t+1, res)
print s
#o.write(s)