結果
問題 |
No.651 E869120 and Driving
|
ユーザー |
![]() |
提出日時 | 2018-02-24 01:04:32 |
言語 | Ruby (3.4.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 156 bytes |
コンパイル時間 | 504 ms |
コンパイル使用メモリ | 7,168 KB |
実行使用メモリ | 12,288 KB |
最終ジャッジ日時 | 2024-10-10 19:42:34 |
合計ジャッジ時間 | 1,739 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 7 |
コンパイルメッセージ
Syntax OK
ソースコード
distance = gets.chomp.to_i required_time = (distance / 100.to_f) * 60 time = 600 + required_time.to_i puts "#{time / 60}:#{(time % 60).to_s.rjust(2, '0')}"