結果

問題 No.296 n度寝
ユーザー souhei o
提出日時 2022-12-03 14:24:14
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 274 bytes
コンパイル時間 320 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 11,008 KB
最終ジャッジ日時 2024-10-10 16:56:07
合計ジャッジ時間 1,251 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

N,H,M,T = map(int, input().split())

import math

def weakup_time(N,H,M,T):
    loss_time = T*(N-1)/60
    M=M/60
    time = H+M+loss_time
    time = time-24*math.floor(time/24)
    print(math.floor(time))
    print(int(60*(time-math.floor(time))))
    
weakup_time(N,H,M,T)
0