結果
| 問題 | No.296 n度寝 | 
| コンテスト | |
| ユーザー |  siganai | 
| 提出日時 | 2022-05-26 14:23:44 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 148 bytes | 
| コンパイル時間 | 145 ms | 
| コンパイル使用メモリ | 82,304 KB | 
| 実行使用メモリ | 52,224 KB | 
| 最終ジャッジ日時 | 2024-09-20 14:59:30 | 
| 合計ジャッジ時間 | 1,317 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 13 WA * 3 | 
ソースコード
n,h,m,t=map(int,input().split())
time = t * (n - 1)
h += time // 60
time %= 60
m += time
if m > 60:
    h += 1
    m -= 60
h %= 24
print(h)
print(m)
            
            
            
        