Programming/Python & Data Structures
[Baekjoon/Python3] 2953번 나는 요리사다
HooNeee
2020. 12. 4. 17:13
[Baekjoon/Python3] 2953번 나는 요리사다
2953번: 나는 요리사다
"나는 요리사다"는 다섯 참가자들이 서로의 요리 실력을 뽐내는 티비 프로이다. 각 참가자는 자신있는 음식을 하나씩 만들어오고, 서로 다른 사람의 음식을 점수로 평가해준다. 점수는 1점부터 5
www.acmicpc.net
score = []
for i in range(5):
score.append(sum(map(int, (input().split()))))
print(score.index(max(score)) + 1, max(score))