結果
| 問題 |
No.804 野菜が苦手
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-09-05 18:07:56 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 302 bytes |
| コンパイル時間 | 98 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-06-23 13:37:11 |
| 合計ジャッジ時間 | 1,580 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 18 |
ソースコード
input_list = input().split()
A = int(input_list[0])
B = int(input_list[1])
C = int(input_list[2])
D = int(input_list[3])
def max_veg_count(A,B,C,D):
for x in range(A):
if x*C <= B and x + x*C <= D:
return x
else:
return 0
print(max_veg_count)