summaryrefslogtreecommitdiff
path: root/2009/qual/c/c.py
diff options
context:
space:
mode:
Diffstat (limited to '2009/qual/c/c.py')
-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()