summaryrefslogtreecommitdiff
path: root/2010/1c/b/b.py
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2011-05-13 13:23:53 +0300
committerYuval Adam <yuv.adm@gmail.com>2011-05-13 13:23:53 +0300
commit184b3fa19de3ad4bb5f8a155ce9b0e931088207d (patch)
tree1ba84b649f71487cac88d6697299de4075c069d0 /2010/1c/b/b.py
parent6e536d154a28d958a50176230b4d128b9f940c4c (diff)
added b
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)