結果

問題 No.296 n度寝
ユーザー tagfa
提出日時 2018-04-08 22:06:36
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 29 ms / 1,000 ms
コード長 169 bytes
コンパイル時間 96 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-06-26 20:28:15
合計ジャッジ時間 1,192 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

n,h,m,t=map(int,input().split())

deltatime=divmod((n-1)*t,60)
timem=divmod(m+deltatime[1],60)
timeh=divmod(h+deltatime[0]+timem[0],24)

print(timeh[1])
print(timem[1])
0