Skip to content

Instantly share code, notes, and snippets.

@pcchou
Last active April 7, 2022 19:14
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 pcchou/da2dea539677c7906e14fb8bf9b229e1 to your computer and use it in GitHub Desktop.
Save pcchou/da2dea539677c7906e14fb8bf9b229e1 to your computer and use it in GitHub Desktop.
3055 凌晨4點的修羅道
score_board = {}
while True:
k = input()
if k=="DATA_INPUT_END":
break
k = k.split()
score_board[k[0]] = k[1]
while True:
k = input()
if k=="END":
break
if k in score_board:
print(score_board[k])
else:
print("gg")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment