summaryrefslogtreecommitdiff
path: root/2010/1c/c/c.py
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2011-05-14 22:14:47 +0300
committerYuval Adam <yuv.adm@gmail.com>2011-05-14 22:14:47 +0300
commitf9e02aeca94369ec904f23f938616e02cef2a253 (patch)
tree41d2b3c1ee60e43a686565b58aefdd8d3564190a /2010/1c/c/c.py
parentfe1ed4eb2cbc5ab2b6b005f970618191e39c85f4 (diff)
moved c
Diffstat (limited to '2010/1c/c/c.py')
-rw-r--r--2010/1c/c/c.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/2010/1c/c/c.py b/2010/1c/c/c.py
new file mode 100644
index 0000000..7bc039a
--- /dev/null
+++ b/2010/1c/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)