Created
December 22, 2016 15:31
-
-
Save boxysean/cfd2e301e94c1b568b3d1f4b0fd5db47 to your computer and use it in GitHub Desktop.
To get you started with problem A...
This file contains hidden or 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
import fileinput | |
def main(): | |
for line in fileinput.input(): | |
i, j = [int(x) for x in line.split()] | |
# beware the min and max! | |
low = min(i, j) | |
high = max(i, j) | |
print('%d %d %d' % (i, j, solve(low, high))) | |
if __name__ == '__main__': | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment