結果
問題 | No.804 野菜が苦手 |
ユーザー |
|
提出日時 | 2019-03-22 21:31:09 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 300 bytes |
コンパイル時間 | 93 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2024-09-19 02:51:56 |
合計ジャッジ時間 | 1,434 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 WA * 3 |
ソースコード
from sys import stdindef main():A, B, C, D = map(int, input().split())ans = 0for a in range(1, A + 1):meat = a * Cif meat <= B and (a + meat) <= D:ans = aelse:print(ans)breakinput = lambda: stdin.readline()main()