summaryrefslogtreecommitdiff
path: root/2011/qual/b/b.py
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2011-05-06 11:49:03 +0300
committerYuval Adam <yuv.adm@gmail.com>2011-05-06 11:49:03 +0300
commiteadef02be3608b5a1c9ef46647a879bbb95822be (patch)
treecc1203836f620a8f791064eb3a0749ccfdaf4f9b /2011/qual/b/b.py
parent81c674535bd0e9cb8ed13d8ed675557e555a5480 (diff)
added b and c
Diffstat (limited to '2011/qual/b/b.py')
-rw-r--r--2011/qual/b/b.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/2011/qual/b/b.py b/2011/qual/b/b.py
new file mode 100644
index 0000000..f3841a7
--- /dev/null
+++ b/2011/qual/b/b.py
@@ -0,0 +1,14 @@
+f = open('1.in', 'r')
+o = open('1.out', 'w')
+
+T = int(f.readline().strip())
+
+for t in xrange(T):
+ (n, k) = map(int, f.readline().strip().split(' '))
+
+ s = "Case #%d: %s\n" % (t+1, res)
+ #print s
+ o.write(s)
+
+f.close()
+o.close() \ No newline at end of file