結果
問題 | No.804 野菜が苦手 |
ユーザー |
|
提出日時 | 2021-10-29 19:04:09 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 218 bytes |
コンパイル時間 | 100 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-10-07 08:39:59 |
合計ジャッジ時間 | 1,548 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | AC * 3 WA * 15 |
ソースコード
def main():a, b, c, d = map(int, input().split(' '))vege = 0while d - vege * (1+c) <= 1 + c and vege <= a and vege * c <= b:vege += 1print(vege)if __name__ =='__main__':main()