結果

問題 No.296 n度寝
ユーザー arito_asu
提出日時 2020-06-13 20:58:32
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 189 bytes
コンパイル時間 300 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-06-25 21:05:30
合計ジャッジ時間 1,488 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 8 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

inp = list(map(int,input().split()))

h = inp[1]
m = (inp[2] + inp[3] * (inp[0] - 1))
if m > 60:
    h += m // 60
    m = m % 60
if h > 23:
    h = h // 24
    
for a in (h,m):
    print(a)
0