summaryrefslogtreecommitdiff
path: root/2009
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2011-04-19 12:54:30 +0300
committerYuval Adam <yuv.adm@gmail.com>2011-04-19 12:54:30 +0300
commit3a320c5f0555a275ebc880381736879e8048acb8 (patch)
tree9b696abc26ef772943205e29bc43b0df6d6cf07d /2009
parentcb646fe0d61c5bc24c99de4abe318c76a8d1df2c (diff)
removed some print statments
Diffstat (limited to '2009')
-rw-r--r--2009/qual/c/c.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/2009/qual/c/c.py b/2009/qual/c/c.py
index 4bdd857..0b092bb 100644
--- a/2009/qual/c/c.py
+++ b/2009/qual/c/c.py
@@ -42,14 +42,10 @@ WTCJ = 'welcome to code jam'
for i in xrange(t):
sub = f.readline().strip()
-
prefs = [sub[j:] for j in xrange(len(sub))]
- print prefs
-
r = len(filter(lambda x: isSub(WTCJ, x), prefs))
s = "Case #%d: %d" % (i+1, r)
- print s
o.write(s)
f.close()