summaryrefslogtreecommitdiff
path: root/2011/1b/c/c.py
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2011-05-21 18:49:31 +0300
committerYuval Adam <yuv.adm@gmail.com>2011-05-21 18:49:31 +0300
commitbe3f71691cab09fc6b3d752bfc8c3db9f38c5cbc (patch)
tree5344c5b78de9b4a928db0c9ddca3d78022a56fea /2011/1b/c/c.py
parente6e15eaa942efd841215b78ed9dab9aed147ebec (diff)
added 2011 1b
Diffstat (limited to '2011/1b/c/c.py')
-rw-r--r--2011/1b/c/c.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/2011/1b/c/c.py b/2011/1b/c/c.py
new file mode 100644
index 0000000..7bc039a
--- /dev/null
+++ b/2011/1b/c/c.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)