結果

問題 No.525 二度寝の季節
ユーザー Kory
提出日時 2017-06-09 22:24:05
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 33 ms / 1,000 ms
コード長 412 bytes
コンパイル時間 76 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-09-22 14:48:47
合計ジャッジ時間 2,059 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 33
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding: utf-8
def get_ln_inputs():
    return input().split()


def get_ln_int_inputs():
    return list(map(int, get_ln_inputs()))


def get_hour_and_min(input):
    return int(input[:2]), int(input[3:])


def main():
    h, m = get_hour_and_min(get_ln_inputs()[0])
    m += 5
    if m >= 60:
        m -= 60
        h += 1
    if h >= 24:
        h -= 24
    print(('%02d' % h) + ":" + ('%02d' % m))


main()
0