結果

問題 No.652 E869120 and TimeZone
ユーザー tcltktcltk
提出日時 2021-11-20 04:04:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 228 ms / 1,000 ms
コード長 465 bytes
コンパイル時間 1,257 ms
コンパイル使用メモリ 86,988 KB
実行使用メモリ 89,536 KB
最終ジャッジ日時 2023-09-02 05:38:31
合計ジャッジ時間 10,193 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 220 ms
89,192 KB
testcase_01 AC 222 ms
89,336 KB
testcase_02 AC 221 ms
89,116 KB
testcase_03 AC 223 ms
89,492 KB
testcase_04 AC 223 ms
89,280 KB
testcase_05 AC 223 ms
89,460 KB
testcase_06 AC 226 ms
89,492 KB
testcase_07 AC 226 ms
89,516 KB
testcase_08 AC 225 ms
89,440 KB
testcase_09 AC 224 ms
89,336 KB
testcase_10 AC 226 ms
89,536 KB
testcase_11 AC 224 ms
89,468 KB
testcase_12 AC 225 ms
89,300 KB
testcase_13 AC 223 ms
89,396 KB
testcase_14 AC 228 ms
89,492 KB
testcase_15 AC 221 ms
89,284 KB
testcase_16 AC 221 ms
89,100 KB
testcase_17 AC 222 ms
89,376 KB
testcase_18 AC 227 ms
89,236 KB
testcase_19 AC 224 ms
89,508 KB
testcase_20 AC 222 ms
89,492 KB
testcase_21 AC 222 ms
89,400 KB
testcase_22 AC 226 ms
89,348 KB
testcase_23 AC 224 ms
89,444 KB
testcase_24 AC 223 ms
89,504 KB
testcase_25 AC 225 ms
89,488 KB
testcase_26 AC 224 ms
89,504 KB
testcase_27 AC 228 ms
89,332 KB
testcase_28 AC 227 ms
89,460 KB
testcase_29 AC 227 ms
89,460 KB
testcase_30 AC 228 ms
89,536 KB
testcase_31 AC 224 ms
89,520 KB
testcase_32 AC 223 ms
89,396 KB
testcase_33 AC 226 ms
89,108 KB
testcase_34 AC 223 ms
89,300 KB
権限があれば一括ダウンロードができます

ソースコード

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 = """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}')
0