結果

問題 No.8099 夜の道路は気をつけて運転しなければならない
ユーザー square1001
提出日時 2023-03-31 21:27:01
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 152 bytes
コンパイル時間 133 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-09-22 23:58:49
合計ジャッジ時間 1,110 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 5 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

def calc(x):
    return (x // 24) * 12 + min(x % 24, 12)

t, s, d = map(int, input().split())
l = t + 6
r = l + d / s
print(f'{calc(r) - calc(l):.15f}')
0