diff options
| author | Yuval Adam <yuv.adm@gmail.com> | 2011-05-13 11:41:16 +0300 |
|---|---|---|
| committer | Yuval Adam <yuv.adm@gmail.com> | 2011-05-13 11:41:16 +0300 |
| commit | e7a1e0168eb41cc2ae20a31b3bf9b149a27af7b1 (patch) | |
| tree | 370b350ef55a6e5dea493f83ce8f408261e0f4c3 /templates/template.py | |
| parent | 025ed16f8d63d35795be911b2960cc3c46016fc9 (diff) | |
updated template
Diffstat (limited to 'templates/template.py')
| -rw-r--r-- | templates/template.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/templates/template.py b/templates/template.py index d54243d..7bc039a 100644 --- a/templates/template.py +++ b/templates/template.py @@ -1,9 +1,13 @@ f = open('1.in', 'r') o = open('1.out', 'w') -t = int(f.readline().strip()) +T = int(f.readline().strip()) -for i in xrange(t): - (n, k) = list(map(int, f.readline().strip().split(' '))) +for t in xrange(T): + (n, m, o) = map(int, f.readline().strip().split(' ')) + l = f.readline().strip() - o.write(s) + res = str(n) + str(m) + str(o) + l + s = "Case #%d: %s\n" % (t+1, res) + print s + #o.write(s) |
