Skip to content

Instantly share code, notes, and snippets.

@monhime
Created January 3, 2021 01:13
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 monhime/67af6b91a0d0d53615027f2c67f7c588 to your computer and use it in GitHub Desktop.
Save monhime/67af6b91a0d0d53615027f2c67f7c588 to your computer and use it in GitHub Desktop.
ABC187 A問題 解答
import sys
def input(): return sys.stdin.readline().rstrip()
def main():
a, b = input().split()
s_a = int(a[0]) + int(a[1]) + int(a[2])
s_b = int(b[0]) + int(b[1]) + int(b[2])
print(max(s_a, s_b))
if __name__=='__main__':
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment