結果
| 問題 |
No.8099 夜の道路は気をつけて運転しなければならない
|
| コンテスト | |
| ユーザー |
ikoma
|
| 提出日時 | 2023-03-31 21:36:06 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 219 bytes |
| コンパイル時間 | 244 ms |
| コンパイル使用メモリ | 82,072 KB |
| 実行使用メモリ | 52,480 KB |
| 最終ジャッジ日時 | 2024-09-23 00:09:49 |
| 合計ジャッジ時間 | 1,510 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 6 WA * 7 |
ソースコード
from math import floor
T,S,D=map(int,input().split())
t = D/S
ans = floor(t/24)*12
t-=ans*24
T-=6
T%=24
te = T+t
if te>12:
if T<12:
t-=12-T
else:
ans-=T-12
te-=12
ans+=min(12,te)
print(ans)
ikoma