The output for every scenario begins with a line containing “Scenario #i:”, where i is the number of the scenario starting at 1. Then print the maximal occurring distance, rounded to two digits after the decimal point. Terminate the output for the scenario with a blank line.
DeepL 번역
모든 시나리오에 대한 출력은 “시나리오 #i:”가 포함된 줄로 시작하며, 여기서 i는 1부터 시작하는 시나리오의 번호입니다. 그런 다음 소수점 이하 두 자리로 반올림하여 최대 발생 거리를 출력합니다. 빈 줄로 시나리오의 출력을 종료합니다.
jkyungho07 2년 전 1
문제에 적힌 출력
The output for every scenario begins with a line containing “Scenario #i:”, where i is the number of the scenario starting at 1. Then print the maximal occurring distance, rounded to two digits after the decimal point. Terminate the output for the scenario with a blank line.
DeepL 번역
모든 시나리오에 대한 출력은 “시나리오 #i:”가 포함된 줄로 시작하며, 여기서 i는 1부터 시작하는 시나리오의 번호입니다. 그런 다음 소수점 이하 두 자리로 반올림하여 최대 발생 거리를 출력합니다. 빈 줄로 시나리오의 출력을 종료합니다.
라고 되어 있는데, 예제는 케이스가 하나인 경우에 대해서만 나와있어 헷갈릴 수 있습니다.
아래 예시를 참고하시면 어떻게 출력해야 하는지 감이 오실거라고 생각합니다.