結果

問題 No.651 E869120 and Driving
ユーザー はむ吉🐹はむ吉🐹
提出日時 2018-02-23 23:39:03
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 32 ms / 1,000 ms
コード長 299 bytes
コンパイル時間 153 ms
コンパイル使用メモリ 11,820 KB
実行使用メモリ 10,684 KB
最終ジャッジ日時 2023-10-22 07:51:10
合計ジャッジ時間 1,217 ms
ジャッジサーバーID
(参考情報)
judge9 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
10,684 KB
testcase_01 AC 31 ms
10,684 KB
testcase_02 AC 31 ms
10,684 KB
testcase_03 AC 31 ms
10,684 KB
testcase_04 AC 31 ms
10,684 KB
testcase_05 AC 31 ms
10,684 KB
testcase_06 AC 31 ms
10,684 KB
testcase_07 AC 31 ms
10,684 KB
testcase_08 AC 31 ms
10,684 KB
testcase_09 AC 32 ms
10,684 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3

import datetime


def main():
    a = int(input())
    t0 = datetime.datetime(year=2018, month=2, day=23, hour=10)
    dt = datetime.timedelta(minutes=a * 6 // 10)
    t1 = t0 + dt
    print("{:02d}:{:02d}".format(t1.hour, t1.minute))


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