結果

問題 No.296 n度寝
ユーザー notsix4notsix4
提出日時 2021-11-23 13:51:55
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 270 bytes
コンパイル時間 123 ms
コンパイル使用メモリ 10,732 KB
実行使用メモリ 8,924 KB
最終ジャッジ日時 2023-09-07 16:29:35
合計ジャッジ時間 1,343 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 AC 17 ms
8,776 KB
testcase_04 AC 18 ms
8,760 KB
testcase_05 AC 18 ms
8,808 KB
testcase_06 AC 18 ms
8,840 KB
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 AC 18 ms
8,680 KB
testcase_11 AC 18 ms
8,908 KB
testcase_12 RE -
testcase_13 AC 18 ms
8,812 KB
testcase_14 AC 18 ms
8,852 KB
testcase_15 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

import datetime
n,h,m,t=map(int,input().split())
dt1 = datetime.timedelta(hours= h, minutes=m)
#time_1 = datetime.timedelta(hours= h, minutes=m, seconds=00)

dt2 = dt1 + datetime.timedelta(minutes=t*(n-1))
d=str(dt2)
l=list(map(int,d.split(":")))
print(l[0])
print(l[1])
0