結果

問題 No.651 E869120 and Driving
ユーザー ThetaTheta
提出日時 2022-10-21 15:39:27
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 19 ms / 1,000 ms
コード長 291 bytes
コンパイル時間 88 ms
コンパイル使用メモリ 10,692 KB
実行使用メモリ 8,844 KB
最終ジャッジ日時 2023-09-13 16:40:16
合計ジャッジ時間 1,116 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
8,676 KB
testcase_01 AC 19 ms
8,780 KB
testcase_02 AC 19 ms
8,844 KB
testcase_03 AC 18 ms
8,776 KB
testcase_04 AC 19 ms
8,728 KB
testcase_05 AC 18 ms
8,784 KB
testcase_06 AC 18 ms
8,740 KB
testcase_07 AC 19 ms
8,756 KB
testcase_08 AC 18 ms
8,736 KB
testcase_09 AC 19 ms
8,780 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from datetime import datetime, timedelta


def main():
    a = int(input())
    time = 60 * a // 100
    departure = datetime(year=2022, month=10, day=21, hour=10)
    arrival = departure + timedelta(minutes=time)
    print(arrival.strftime("%H:%M"))


if __name__ == "__main__":
    main()
0