#2 백준 2562번 파이썬
우보만리
- np.argmax의 기능을 구현하는 문제
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
max_ = 0 | |
for i in range(9): | |
temp = int(input()) | |
if temp > max_: | |
max_ = temp | |
loc = i+1 | |
print(max_) | |
print(loc) |