The next M lines consit of three integers A, B and T, divided by a single space. That means that the rooms A and B are connected by a corridor, and that we need T seconds to pass that corridor. -> T는 50 이하의 양의 정수로 보입니다.
The next K lines consist of three integers A, B and T divided by a single space. That means that that it took Lucy T seconds to get from room A to room B. -> T는 15 이하의 양의 정수로 보입니다.
gs18115 3년 전
입력에 T의 범위가 나와 있지 않습니다. 입력 조건에 명시해 주세요.
The next M lines consit of three integers A, B and T, divided by a single space. That means that the rooms A and B are connected by a corridor, and that we need T seconds to pass that corridor. -> T는 50 이하의 양의 정수로 보입니다.
The next K lines consist of three integers A, B and T divided by a single space. That means that that it took Lucy T seconds to get from room A to room B. -> T는 15 이하의 양의 정수로 보입니다.