結果

問題 No.651 E869120 and Driving
ユーザー muu16muu16
提出日時 2018-08-30 22:14:14
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 164 bytes
コンパイル時間 254 ms
コンパイル使用メモリ 11,432 KB
実行使用メモリ 15,304 KB
最終ジャッジ日時 2023-10-11 21:45:53
合計ジャッジ時間 2,520 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 82 ms
15,112 KB
testcase_01 AC 81 ms
15,264 KB
testcase_02 AC 82 ms
15,068 KB
testcase_03 AC 81 ms
15,136 KB
testcase_04 AC 82 ms
15,204 KB
testcase_05 AC 82 ms
15,020 KB
testcase_06 AC 82 ms
15,172 KB
testcase_07 AC 82 ms
15,184 KB
testcase_08 AC 82 ms
15,032 KB
testcase_09 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

moku = gets.chomp.to_i

zikan2 = moku / 100
b = zikan2 + 10


zikan = moku / 100.0
fun = zikan * 60
c = fun % 60
d = c.to_i
e = format("%02d", d)

puts "#{b}:#{e}"
0