結果

問題 No.652 E869120 and TimeZone
コンテスト
ユーザー pluto77
提出日時 2018-02-24 10:37:53
言語 PyPy2
(7.3.15)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 270 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 126 ms
コンパイル使用メモリ 77,500 KB
最終ジャッジ日時 2025-12-04 00:58:53
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 5
other AC * 29 WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#yuki652

a,b,s=raw_input().split()
x=s.lstrip('UTC')
x1=float(x)
x2=int(x1*60)
ref=9*60
ref1=x2-ref
res=int(a)*60+int(b)
res1=ref1+res
if res1<0:
 res1+=24*60
res2=res1/60
if res2>=24:
 res2=res2-24
res3=res1%60
print ''.join(str(res2).zfill(2)+':'+str(res3).zfill(2))
0