結果

問題 No.525 二度寝の季節
ユーザー 💕💖💞💕💖💞
提出日時 2017-06-24 17:55:31
言語 Kotlin
(1.9.23)
結果
WA  
実行時間 -
コード長 194 bytes
コンパイル時間 9,207 ms
コンパイル使用メモリ 428,764 KB
実行使用メモリ 57,984 KB
最終ジャッジ日時 2024-04-30 14:37:30
合計ジャッジ時間 21,244 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 302 ms
57,888 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 306 ms
57,740 KB
testcase_04 AC 306 ms
57,804 KB
testcase_05 AC 297 ms
57,864 KB
testcase_06 AC 299 ms
57,852 KB
testcase_07 AC 301 ms
57,736 KB
testcase_08 AC 303 ms
57,860 KB
testcase_09 AC 304 ms
57,684 KB
testcase_10 AC 307 ms
57,808 KB
testcase_11 AC 316 ms
57,832 KB
testcase_12 AC 302 ms
57,832 KB
testcase_13 AC 302 ms
57,876 KB
testcase_14 AC 306 ms
57,848 KB
testcase_15 AC 302 ms
57,848 KB
testcase_16 AC 309 ms
57,752 KB
testcase_17 AC 311 ms
57,672 KB
testcase_18 AC 303 ms
57,764 KB
testcase_19 AC 305 ms
57,732 KB
testcase_20 AC 302 ms
57,732 KB
testcase_21 AC 302 ms
57,744 KB
testcase_22 AC 296 ms
57,728 KB
testcase_23 AC 300 ms
57,856 KB
testcase_24 AC 304 ms
57,668 KB
testcase_25 AC 306 ms
57,764 KB
testcase_26 AC 299 ms
57,876 KB
testcase_27 AC 305 ms
57,712 KB
testcase_28 AC 302 ms
57,872 KB
testcase_29 AC 306 ms
57,984 KB
testcase_30 AC 298 ms
57,860 KB
testcase_31 AC 300 ms
57,852 KB
testcase_32 AC 301 ms
57,756 KB
testcase_33 AC 299 ms
57,844 KB
testcase_34 AC 298 ms
57,792 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