Skip to content

Instantly share code, notes, and snippets.

@avm99963
Last active April 4, 2016 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avm99963/71507086eee07f51aa5672e50842472c to your computer and use it in GitHub Desktop.
Save avm99963/71507086eee07f51aa5672e50842472c to your computer and use it in GitHub Desktop.
Solver written in Python for the "Sum by one" problem in the test contest
# St. Paul's Code Jam – "Sum by one" solver
# @Author: avm99963
T = int(raw_input())
def solve(n):
return str(int(n) + 1)
for t in range(1, T+1):
n = raw_input()
print("Case #"+str(t)+": "+solve(n))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment