No.651 E869120 and Driving
問題文最終更新日: 2026-06-25 02:10:16
English (AI translation)
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence.
Back to the original
yukicoder contest 184
(順位表)
の他の問題:
Problem Statement
E869120 always drives a car at a speed of $100$km per hour.
Now, E869120 left home at 10 a.m. The distance to the destination is $a$ km. Output the time (hour and minute) at which E869120 arrives at the destination.
Input
$a$
- $a$ is a multiple of $10$.
- $10≦a≦1000$
Output
Output the arrival time in the form "22:02" on one line. Do not forget the newline at the end.
Sample
Sample 1
Input
110
Output
11:06
It takes 66 minutes = 1 hour 6 minutes to reach the destination.
Sample 2
Input
270
Output
12:42
It takes E869120 2 hours 42 minutes to drive 270km.
Sample 3
Input
820
Output
18:12
The straight-line distance from Sapporo to Tokyo is approximately 820km.
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。
e869120