結果

問題 No.804 野菜が苦手
コンテスト
ユーザー bellangeldindon
提出日時 2019-04-02 17:08:05
言語 PyPy2
(7.3.15)
結果
WA  
実行時間 -
コード長 118 bytes
記録
コンパイル時間 145 ms
コンパイル使用メモリ 77,476 KB
最終ジャッジ日時 2025-12-04 01:34:06
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 9 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

A, B, C, D = map(int, raw_input().split())

ans = A
if B/A < ans: ans = B/A
if D < ans*(C+1): ans = D/(C+1)

print ans
0