반응형
import sys
block = []
for _ in range(9):
x = list(map(int,sys.stdin.readline().split()))
block.append(x)
maximum = max(sum(block,[]))
print(maximum)
row = 1
breaker=False
for i in block:
col = 1
for j in i:
if j == maximum:
print(row,col)
breaker=True
break
else:
col+=1
if breaker:
break
row+=1
반응형
'백준 문제풀이' 카테고리의 다른 글
baekjoon - python - 5575 (0) | 2020.12.08 |
---|---|
baekjoon - python - 1297 (0) | 2020.12.07 |
baekjoon - python - 5597 (0) | 2020.12.06 |
baekjoon - python - 1735 (0) | 2020.11.24 |
baekjoon - python - 9093 (0) | 2020.11.22 |
댓글