結果
| 問題 | 
                            No.296 n度寝
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2020-09-08 14:38:55 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 257 bytes | 
| コンパイル時間 | 88 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 10,752 KB | 
| 最終ジャッジ日時 | 2024-11-29 16:30:47 | 
| 合計ジャッジ時間 | 1,292 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 8 WA * 8 | 
ソースコード
n,h,m,t=list(map(int,input().split())) #n度寝
#アラームの設定時刻h時m分
#t分間隔でアラームが鳴る
time=h*60+m #time分
time=time+n*t-t
x=time//60
y=time-60*x
while x>23:
    x=x//24
print(x)
print(y)  #x時y分に完全起床