結果

問題 No.296 n度寝
ユーザー penicillin0penicillin0
提出日時 2019-03-05 03:29:54
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 20 ms / 1,000 ms
コード長 201 bytes
コンパイル時間 71 ms
コンパイル使用メモリ 10,572 KB
実行使用メモリ 8,852 KB
最終ジャッジ日時 2023-09-05 18:40:29
合計ジャッジ時間 1,221 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
8,796 KB
testcase_01 AC 20 ms
8,804 KB
testcase_02 AC 20 ms
8,784 KB
testcase_03 AC 19 ms
8,824 KB
testcase_04 AC 19 ms
8,640 KB
testcase_05 AC 19 ms
8,844 KB
testcase_06 AC 18 ms
8,788 KB
testcase_07 AC 18 ms
8,712 KB
testcase_08 AC 18 ms
8,852 KB
testcase_09 AC 18 ms
8,788 KB
testcase_10 AC 18 ms
8,820 KB
testcase_11 AC 18 ms
8,740 KB
testcase_12 AC 19 ms
8,636 KB
testcase_13 AC 18 ms
8,804 KB
testcase_14 AC 18 ms
8,752 KB
testcase_15 AC 19 ms
8,688 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import datetime
n, h, m, t = map(int, input().split())
begin = datetime.datetime(2019, 1, 1, h, m)
between = datetime.timedelta(0, 60 * t)
up = begin + between * (n - 1)
print(up.hour)
print(up.minute)
0