結果
問題 |
No.296 n度寝
|
ユーザー |
|
提出日時 | 2020-04-19 17:28:16 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 29 ms / 1,000 ms |
コード長 | 244 bytes |
コンパイル時間 | 164 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-05 19:51:37 |
合計ジャッジ時間 | 1,213 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 16 |
ソースコード
import datetime N,H,M,T=map(int,input().split()) first_wake=datetime.datetime(year=2020, month=4, day=19, hour=H,minute=M) d=datetime.timedelta(minutes=T) now = first_wake + d*(N-1) print(int(now.strftime("%H"))) print(int(now.strftime("%M")))