結果
| 問題 |
No.804 野菜が苦手
|
| コンテスト | |
| ユーザー |
_KingdomOfMoray
|
| 提出日時 | 2019-12-01 10:00:54 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 30 ms / 2,000 ms |
| コード長 | 287 bytes |
| コンパイル時間 | 365 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-11-21 04:26:18 |
| 合計ジャッジ時間 | 1,586 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 18 |
ソースコード
input_params = list(map(int,input().split()))
a = input_params[0]
b = input_params[1]
c = input_params[2]
d = input_params[3]
subres = [0]
for i in range(a):
vnum = i + 1
if c * vnum <= b and (c + 1) * vnum <= d:
subres.append(vnum)
res = max(subres)
print(res)
_KingdomOfMoray