結果

問題 No.652 E869120 and TimeZone
ユーザー tcltktcltk
提出日時 2021-11-20 04:01:44
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 460 bytes
コンパイル時間 266 ms
コンパイル使用メモリ 82,328 KB
実行使用メモリ 87,640 KB
最終ジャッジ日時 2025-01-02 11:39:25
合計ジャッジ時間 6,859 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 5
other AC * 26 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/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 = """22 20 UTC+8
# """
# sys.stdin = io.StringIO(_INPUT)

a, b, S = input().split()
m = int(a) * 60 + int(b)
dm = int((float(S[3:])-9) * 10) * 6
m1 = (m + dm) % (60 * 24)

print(f'{m1//60:02}:{m1%60:02}')
0