Skip to content

Instantly share code, notes, and snippets.

@thrasibule
Created March 30, 2017 17:53
Show Gist options
  • Save thrasibule/2ecf4151ef6b01a86e08bc80a249f293 to your computer and use it in GitHub Desktop.
Save thrasibule/2ecf4151ef6b01a86e08bc80a249f293 to your computer and use it in GitHub Desktop.
import sys
def parse(line):
return [c for c in line.rstrip()]
def solve():
pass
with open(sys.argv[1]) as fh:
N = int(next(fh))
i = 1
for line in fh:
print("Case #{}: ".format(i, solve(parse(line))))
i += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment