結果

問題 No.296 n度寝
ユーザー takakin
提出日時 2020-03-29 09:56:51
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 31 ms / 1,000 ms
コード長 151 bytes
コンパイル時間 333 ms
コンパイル使用メモリ 12,160 KB
実行使用メモリ 10,368 KB
最終ジャッジ日時 2025-01-02 13:12:34
合計ジャッジ時間 1,519 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input=lambda: sys.stdin.readline().rstrip()
n,h,m,t=map(int,input().split())
a=(n-1)*t
mm=(a+m)%60
hh=h+(a+m)//60
hh%=24
print(hh)
print(mm)
0