結果

問題 No.525 二度寝の季節
ユーザー 💕💖💞💕💖💞
提出日時 2017-06-24 17:57:32
言語 Kotlin
(1.9.23)
結果
AC  
実行時間 349 ms / 1,000 ms
コード長 195 bytes
コンパイル時間 12,590 ms
コンパイル使用メモリ 423,184 KB
実行使用メモリ 55,744 KB
最終ジャッジ日時 2023-08-12 19:34:35
合計ジャッジ時間 24,886 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 330 ms
54,088 KB
testcase_01 AC 335 ms
54,220 KB
testcase_02 AC 334 ms
55,744 KB
testcase_03 AC 330 ms
54,016 KB
testcase_04 AC 335 ms
53,852 KB
testcase_05 AC 336 ms
53,872 KB
testcase_06 AC 346 ms
54,120 KB
testcase_07 AC 339 ms
54,100 KB
testcase_08 AC 349 ms
53,708 KB
testcase_09 AC 347 ms
53,888 KB
testcase_10 AC 343 ms
53,920 KB
testcase_11 AC 334 ms
54,284 KB
testcase_12 AC 335 ms
54,272 KB
testcase_13 AC 331 ms
53,848 KB
testcase_14 AC 336 ms
53,840 KB
testcase_15 AC 337 ms
53,920 KB
testcase_16 AC 334 ms
53,892 KB
testcase_17 AC 344 ms
53,900 KB
testcase_18 AC 341 ms
53,840 KB
testcase_19 AC 336 ms
53,880 KB
testcase_20 AC 336 ms
53,992 KB
testcase_21 AC 336 ms
54,060 KB
testcase_22 AC 337 ms
54,052 KB
testcase_23 AC 331 ms
53,996 KB
testcase_24 AC 327 ms
53,964 KB
testcase_25 AC 333 ms
54,272 KB
testcase_26 AC 337 ms
54,072 KB
testcase_27 AC 331 ms
53,940 KB
testcase_28 AC 335 ms
53,864 KB
testcase_29 AC 341 ms
54,088 KB
testcase_30 AC 329 ms
54,000 KB
testcase_31 AC 327 ms
53,720 KB
testcase_32 AC 334 ms
54,200 KB
testcase_33 AC 343 ms
53,856 KB
testcase_34 AC 341 ms
53,736 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.kt:1:10: warning: parameter 'args' is never used
fun main(args : Array<String>) {
         ^

ソースコード

diff #

fun main(args : Array<String>) {
  var (a,b) = readLine()!!.split(":").map { x -> x.toInt() }
  b = b+5
  if( b >= 60 )
    a = a + 1

  a = a%24
  b = b%60
  println("%02d:%02d".format(a, b))
}
0