summaryrefslogtreecommitdiff
path: root/templates/template.py
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2011-04-08 12:01:37 +0300
committerYuval Adam <yuv.adm@gmail.com>2011-04-08 12:01:37 +0300
commitf634b6773930c200d3b4ad3430c29cf303e4b2ad (patch)
tree5b07760e75d2fdd16cd52daa1fca85179308b4f5 /templates/template.py
parent2aeb590a846982a09e96c15756175a616b8647c7 (diff)
moved to template dir
Diffstat (limited to 'templates/template.py')
-rw-r--r--templates/template.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/template.py b/templates/template.py
new file mode 100644
index 0000000..8ca1098
--- /dev/null
+++ b/templates/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)