summaryrefslogtreecommitdiff
path: root/template.py
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2011-04-08 11:31:25 +0300
committerYuval Adam <yuv.adm@gmail.com>2011-04-08 11:31:25 +0300
commit2aeb590a846982a09e96c15756175a616b8647c7 (patch)
tree006fa076a73ab68b254e84afae35e230ae4a944a /template.py
parentbd9b5628214f3b4e1affc911538d30bb42442cce (diff)
added template
Diffstat (limited to 'template.py')
-rw-r--r--template.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/template.py b/template.py
new file mode 100644
index 0000000..8ca1098
--- /dev/null
+++ b/template.py
@@ -0,0 +1,11 @@
+f = open('1.in', 'r')
+o = open('1.out', 'w')
+
+t = int(f.readline().strip())
+
+for i in range(t):
+ nk = f.readline().strip().split(' ')
+ n = int(nk[0])
+ k = int(nk[1])
+
+ o.write(s)