結果

問題 No.525 二度寝の季節
ユーザー 双六双六
提出日時 2020-08-11 17:42:40
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 44 ms / 1,000 ms
コード長 557 bytes
コンパイル時間 188 ms
コンパイル使用メモリ 82,028 KB
実行使用メモリ 55,548 KB
最終ジャッジ日時 2024-04-17 17:27:50
合計ジャッジ時間 2,405 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
54,712 KB
testcase_01 AC 42 ms
54,268 KB
testcase_02 AC 44 ms
55,548 KB
testcase_03 AC 39 ms
55,176 KB
testcase_04 AC 40 ms
54,796 KB
testcase_05 AC 38 ms
54,612 KB
testcase_06 AC 38 ms
55,036 KB
testcase_07 AC 39 ms
55,100 KB
testcase_08 AC 39 ms
54,268 KB
testcase_09 AC 39 ms
54,332 KB
testcase_10 AC 39 ms
54,484 KB
testcase_11 AC 39 ms
55,240 KB
testcase_12 AC 39 ms
54,180 KB
testcase_13 AC 40 ms
54,268 KB
testcase_14 AC 40 ms
54,192 KB
testcase_15 AC 38 ms
53,876 KB
testcase_16 AC 38 ms
54,704 KB
testcase_17 AC 40 ms
53,992 KB
testcase_18 AC 39 ms
54,520 KB
testcase_19 AC 39 ms
54,536 KB
testcase_20 AC 38 ms
54,788 KB
testcase_21 AC 38 ms
53,840 KB
testcase_22 AC 39 ms
54,176 KB
testcase_23 AC 39 ms
54,640 KB
testcase_24 AC 38 ms
54,316 KB
testcase_25 AC 38 ms
53,924 KB
testcase_26 AC 37 ms
54,016 KB
testcase_27 AC 38 ms
53,420 KB
testcase_28 AC 40 ms
54,780 KB
testcase_29 AC 38 ms
54,628 KB
testcase_30 AC 39 ms
53,940 KB
testcase_31 AC 39 ms
54,040 KB
testcase_32 AC 39 ms
54,252 KB
testcase_33 AC 39 ms
54,528 KB
testcase_34 AC 38 ms
55,024 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# import sys; input = sys.stdin.buffer.readline
# sys.setrecursionlimit(10**7)
from collections import defaultdict
con = 10 ** 9 + 7; INF = float("inf")

def getlist():
	return list(map(int, input().split()))

#処理内容
def main():
	T = list(input().split(":"))
	h = int(T[0])
	m = int(T[1])
	time = 60 * h + m + 5
	time %= (60 * 24)

	hh = time // 60
	mm = time % 60
	if hh < 10:
		ansh = "0" + str(hh)
	else:
		ansh = str(hh)

	if mm < 10:
		ansm = "0" + str(mm)
	else:
		ansm = str(mm)

	print(ansh + ":" + ansm)



if __name__ == '__main__':
	main()
0