結果

問題 No.525 二度寝の季節
ユーザー matutaqnitakumi
提出日時 2017-07-02 15:36:25
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 196 bytes
コンパイル時間 196 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-10-05 08:29:36
合計ジャッジ時間 1,916 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2
other WA * 33
権限があれば一括ダウンロードができます

ソースコード

diff #

x=input()
#x="23:59"
h=int(x[:2])
a=int(x[-2:])+5

print(h,a)

if 60<=int(a):
	a=int(a)-60
	h=int(h)+1
#"{0:02d}".format
if 24<=int(h):
	h=h-24

print("{0:02d}".format(h)+":"+"{0:02d}".format(a))
0