結果
| 問題 |
No.651 E869120 and Driving
|
| ユーザー |
nonokai10
|
| 提出日時 | 2018-02-24 01:08:28 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 156 bytes |
| コンパイル時間 | 254 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 12,288 KB |
| 最終ジャッジ日時 | 2024-10-10 19:53:22 |
| 合計ジャッジ時間 | 2,296 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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')}"
nonokai10