結果

問題 No.651 E869120 and Driving
ユーザー alcoholampalcoholamp
提出日時 2019-10-19 15:52:32
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 35 ms / 1,000 ms
コード長 317 bytes
コンパイル時間 87 ms
コンパイル使用メモリ 10,704 KB
実行使用メモリ 9,844 KB
最終ジャッジ日時 2023-09-09 12:49:23
合計ジャッジ時間 1,712 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
9,776 KB
testcase_01 AC 35 ms
9,712 KB
testcase_02 AC 33 ms
9,680 KB
testcase_03 AC 30 ms
9,712 KB
testcase_04 AC 31 ms
9,688 KB
testcase_05 AC 31 ms
9,844 KB
testcase_06 AC 30 ms
9,564 KB
testcase_07 AC 30 ms
9,752 KB
testcase_08 AC 30 ms
9,824 KB
testcase_09 AC 31 ms
9,764 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from datetime import datetime, date, timedelta

class Problem0651:
    def solve(this):
        t = datetime.strptime('10:00', '%H:%M')

        a = int(input())
        print(datetime.strftime(t + timedelta(minutes=60 * a / 100), '%H:%M'))

if __name__ == "__main__":
    problem = Problem0651()
    problem.solve()
0