結果

問題 No.652 E869120 and TimeZone
ユーザー Tako_zoi
提出日時 2018-05-26 11:31:25
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 236 bytes
コンパイル時間 111 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 11,008 KB
最終ジャッジ日時 2024-06-28 18:09:04
合計ジャッジ時間 1,859 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 3
other AC * 2 WA * 28
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
lis = list(map(str,input().split()))
a = int(lis[0])
b = int(lis[1])
c = float(lis[2][4:])
if lis[2][3] == "-":c *= -1
c -= 9
d = (c % 1) * 60
c = math.floor(c)
ans = [a+c,":",int(b+d)]
for i in range(3):print(ans[i],end="")
0