結果

問題 No.296 n度寝
ユーザー utsumidaisuke
提出日時 2017-03-09 23:02:34
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 184 bytes
コンパイル時間 134 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-06-24 00:17:16
合計ジャッジ時間 1,277 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
h = int(input())
m = int(input())
t = int(input())

adh = (t*(n-1))//60
adm = (t*(n-1))%60
ans_m = (m+adm)%60
ans_h = (h+adh+(m+adm)//60)%24

print(ans_h)
print(ans_m)
0