結果

問題 No.652 E869120 and TimeZone
ユーザー kohei2019kohei2019
提出日時 2022-03-02 00:59:31
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 225 ms / 1,000 ms
コード長 217 bytes
コンパイル時間 344 ms
コンパイル使用メモリ 86,872 KB
実行使用メモリ 88,996 KB
最終ジャッジ日時 2023-09-22 16:37:23
合計ジャッジ時間 9,991 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 218 ms
88,956 KB
testcase_01 AC 217 ms
88,792 KB
testcase_02 AC 222 ms
88,844 KB
testcase_03 AC 221 ms
88,956 KB
testcase_04 AC 216 ms
88,992 KB
testcase_05 AC 218 ms
88,860 KB
testcase_06 AC 214 ms
88,700 KB
testcase_07 AC 219 ms
88,816 KB
testcase_08 AC 222 ms
88,864 KB
testcase_09 AC 221 ms
88,828 KB
testcase_10 AC 219 ms
88,860 KB
testcase_11 AC 218 ms
88,956 KB
testcase_12 AC 216 ms
88,960 KB
testcase_13 AC 217 ms
88,592 KB
testcase_14 AC 220 ms
88,828 KB
testcase_15 AC 223 ms
88,724 KB
testcase_16 AC 225 ms
88,676 KB
testcase_17 AC 223 ms
88,848 KB
testcase_18 AC 221 ms
88,676 KB
testcase_19 AC 221 ms
88,632 KB
testcase_20 AC 216 ms
88,696 KB
testcase_21 AC 218 ms
88,996 KB
testcase_22 AC 217 ms
88,892 KB
testcase_23 AC 216 ms
88,868 KB
testcase_24 AC 218 ms
88,956 KB
testcase_25 AC 217 ms
88,860 KB
testcase_26 AC 220 ms
88,996 KB
testcase_27 AC 219 ms
88,860 KB
testcase_28 AC 220 ms
88,524 KB
testcase_29 AC 218 ms
88,676 KB
testcase_30 AC 220 ms
88,844 KB
testcase_31 AC 217 ms
88,764 KB
testcase_32 AC 218 ms
88,864 KB
testcase_33 AC 223 ms
88,896 KB
testcase_34 AC 221 ms
88,788 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import decimal
a,b,s = input().split()
a = int(a)
b = int(b)
s1 = decimal.Decimal(s[3:])-9
m = int(60*a+b+60*s1)
h = (m//60)%24
m = m % 60
h = str(h)
h = (2-len(h))*'0'+h
m = str(m)
m = (2-len(m))*'0'+m
print(h+':'+m)
0