結果
問題 | No.804 野菜が苦手 |
ユーザー |
|
提出日時 | 2019-03-22 21:27:31 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 321 bytes |
コンパイル時間 | 88 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-09-19 02:46:40 |
合計ジャッジ時間 | 1,468 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 15 WA * 3 |
ソースコード
from sys import stdindef main():A, B, C, D = map(int, input().split())yasai, niku = 0, 0ans = 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()