diff options
| -rw-r--r-- | 2010/1c/c/c.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/2010/1c/c/c.py b/2010/1c/c/c.py index c5393d5..a242cb6 100644 --- a/2010/1c/c/c.py +++ b/2010/1c/c/c.py @@ -1,12 +1,18 @@ f = open('1.in', 'r') o = open('1.out', 'w') +M1 = 0xaaaaaaaa +M0 = M1 >> 1 + T = int(f.readline().strip()) for t in xrange(T): (M, N) = map(int, f.readline().strip().split(' ')) grid = [int(f.readline().strip(), 16) for _m in range(M)] + nextSquare = min(M, N) + + res = grid s = "Case #%d: %s\n" % (t+1, res) print s |
