結果

問題 No.651 E869120 and Driving
ユーザー ichibanshiboriichibanshibori
提出日時 2018-04-29 19:25:23
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 312 ms / 1,000 ms
コード長 173 bytes
コンパイル時間 10,592 ms
コンパイル使用メモリ 411,800 KB
実行使用メモリ 53,740 KB
最終ジャッジ日時 2023-08-12 23:30:05
合計ジャッジ時間 14,949 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 299 ms
53,452 KB
testcase_01 AC 308 ms
53,688 KB
testcase_02 AC 300 ms
53,692 KB
testcase_03 AC 310 ms
53,740 KB
testcase_04 AC 305 ms
53,516 KB
testcase_05 AC 307 ms
53,564 KB
testcase_06 AC 308 ms
53,452 KB
testcase_07 AC 307 ms
53,516 KB
testcase_08 AC 307 ms
53,432 KB
testcase_09 AC 312 ms
53,560 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args : Array<String>) {
         ^

ソースコード

diff #

fun main(args : Array<String>) {
	val S = (readLine() ?: "").toInt()
	val m = S * 60 / 100
	val (gh, gm) = Pair(10 + m / 60, m % 60)
	
	println("%02d:%02d".format(gh, gm))
}
0