結果
| 問題 | No.652 E869120 and TimeZone |
| コンテスト | |
| ユーザー |
kwnwsdnc
|
| 提出日時 | 2018-03-21 17:39:08 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 339 bytes |
| 記録 | |
| コンパイル時間 | 349 ms |
| コンパイル使用メモリ | 20,952 KB |
| 実行使用メモリ | 15,616 KB |
| 最終ジャッジ日時 | 2026-03-10 23:57:36 |
| 合計ジャッジ時間 | 4,979 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 3 |
| other | AC * 10 WA * 21 |
ソースコード
ln=input().split()
hour=int(ln[0])
minute=int(ln[1])
time=24*60
lag=float(ln[2].replace('UTC',''))-9.0
time+=hour*60+minute
time+=lag*60
hour=int(time//60)
minute=int(round(time%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