結果

問題 No.3099 夜の道路は気をつけて運転しなければならない
ユーザー square1001square1001
提出日時 2023-03-31 21:27:01
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 152 bytes
コンパイル時間 97 ms
コンパイル使用メモリ 11,792 KB
実行使用メモリ 10,124 KB
最終ジャッジ日時 2023-10-24 07:13:19
合計ジャッジ時間 1,113 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
10,124 KB
testcase_01 AC 28 ms
10,124 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 28 ms
10,124 KB
testcase_05 AC 27 ms
10,124 KB
testcase_06 AC 28 ms
10,124 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 27 ms
10,124 KB
権限があれば一括ダウンロードができます

ソースコード

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