結果
| 問題 | No.652 E869120 and TimeZone |
| コンテスト | |
| ユーザー |
kwnwsdnc
|
| 提出日時 | 2018-03-21 17:22:38 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 353 bytes |
| コンパイル時間 | 105 ms |
| コンパイル使用メモリ | 12,800 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-06-24 19:35:30 |
| 合計ジャッジ時間 | 2,294 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 WA * 1 |
| other | AC * 13 WA * 17 |
ソースコード
ln=input().split()
hour=int(ln[0])
minute=int(ln[1])
lag=float(ln[2].replace('UTC',''))-9.0
lagmin=60*(lag-int(lag))
lag=int(lag)
hour=(hour+lag+24)%24
minute=int(round((minute+lagmin+60.0)%60,1))
if hour<10:
hour='0'+str(hour)
else:
hour=str(hour)
if minute<10:
minute='0'+str(minute)
else:
minute=str(minute)
print(hour+':'+minute)
kwnwsdnc