Last active
April 4, 2016 18:09
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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