Last active
April 7, 2022 19:14
-
-
Save pcchou/da2dea539677c7906e14fb8bf9b229e1 to your computer and use it in GitHub Desktop.
3055 凌晨4點的修羅道
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
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