結果

問題 No.525 二度寝の季節
ユーザー 💕💖💞💕💖💞
提出日時 2017-06-24 17:55:31
言語 Kotlin
(1.9.10)
結果
WA  
実行時間 -
コード長 194 bytes
コンパイル時間 12,065 ms
コンパイル使用メモリ 421,108 KB
実行使用メモリ 54,400 KB
最終ジャッジ日時 2023-08-12 19:32:56
合計ジャッジ時間 25,542 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 344 ms
53,980 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 342 ms
54,232 KB
testcase_04 AC 342 ms
54,208 KB
testcase_05 AC 336 ms
53,884 KB
testcase_06 AC 341 ms
53,732 KB
testcase_07 AC 335 ms
53,956 KB
testcase_08 AC 340 ms
54,072 KB
testcase_09 AC 340 ms
53,716 KB
testcase_10 AC 340 ms
53,836 KB
testcase_11 AC 337 ms
53,728 KB
testcase_12 AC 339 ms
54,028 KB
testcase_13 AC 336 ms
53,860 KB
testcase_14 AC 334 ms
53,868 KB
testcase_15 AC 337 ms
53,908 KB
testcase_16 AC 336 ms
53,844 KB
testcase_17 AC 335 ms
53,912 KB
testcase_18 AC 338 ms
54,184 KB
testcase_19 AC 336 ms
53,892 KB
testcase_20 AC 334 ms
53,864 KB
testcase_21 AC 337 ms
53,876 KB
testcase_22 AC 337 ms
54,264 KB
testcase_23 AC 333 ms
54,020 KB
testcase_24 AC 334 ms
53,948 KB
testcase_25 AC 336 ms
54,036 KB
testcase_26 AC 335 ms
54,372 KB
testcase_27 AC 336 ms
54,112 KB
testcase_28 AC 331 ms
54,188 KB
testcase_29 AC 335 ms
54,220 KB
testcase_30 AC 333 ms
53,908 KB
testcase_31 AC 340 ms
54,316 KB
testcase_32 AC 332 ms
54,008 KB
testcase_33 AC 337 ms
53,708 KB
testcase_34 AC 335 ms
53,840 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