[BOJ/백준] 4635 - Speed Limit [python]
문제 링크 4635번: Speed Limit The input consists of one or more data sets. Each set starts with a line containing an integer n, 1 ≤ n ≤ 10, followed by n pairs of values, one pair per line. The first value in a pair, s, is the speed in miles per hour and the second value, t, is t www.acmicpc.net 문제 풀이 단순한 사칙연산 문제이다. 다만, 입력값으로 주어지는 t가 누적값이므로 주의하자. 정답 코드 while True : n = int(input()) if n == -1 : break..