summaryrefslogtreecommitdiff
path: root/2010/1c/b/b.py
diff options
context:
space:
mode:
Diffstat (limited to '2010/1c/b/b.py')
-rw-r--r--2010/1c/b/b.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/2010/1c/b/b.py b/2010/1c/b/b.py
new file mode 100644
index 0000000..7bc039a
--- /dev/null
+++ b/2010/1c/b/b.py
@@ -0,0 +1,13 @@
+f = open('1.in', 'r')
+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()
+
+ res = str(n) + str(m) + str(o) + l
+ s = "Case #%d: %s\n" % (t+1, res)
+ print s
+ #o.write(s)