結果
| 問題 |
No.652 E869120 and TimeZone
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-11-20 04:04:16 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 117 ms / 1,000 ms |
| コード長 | 465 bytes |
| コンパイル時間 | 152 ms |
| コンパイル使用メモリ | 82,152 KB |
| 実行使用メモリ | 87,224 KB |
| 最終ジャッジ日時 | 2024-06-11 12:35:01 |
| 合計ジャッジ時間 | 5,276 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 5 |
| other | AC * 30 |
ソースコード
#!/usr/bin/env python3
# from typing import *
import sys
import io
import math
import collections
import decimal
import itertools
import bisect
import heapq
def input():
return sys.stdin.readline()[:-1]
# sys.setrecursionlimit(1000000)
# _INPUT = """01 00 UTC+8.4
# """
# sys.stdin = io.StringIO(_INPUT)
a, b, S = input().split()
m = int(a) * 60 + int(b)
dm = round((float(S[3:])-9) * 10) * 6
m1 = (m + dm) % (60 * 24)
print(f'{m1//60:02}:{m1%60:02}')