結果
| 問題 |
No.804 野菜が苦手
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-07-06 20:50:54 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 74 ms / 2,000 ms |
| コード長 | 305 bytes |
| コンパイル時間 | 242 ms |
| コンパイル使用メモリ | 82,476 KB |
| 実行使用メモリ | 55,552 KB |
| 最終ジャッジ日時 | 2024-07-06 20:50:57 |
| 合計ジャッジ時間 | 2,145 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 18 |
ソースコード
from collections import *
from itertools import *
from functools import *
from heapq import *
import sys,math
# input = sys.stdin.readline
A,B,C,D = map(int,input().split())
now = 0
for i in range(1,1001):
if(i<=A)&(C*i<=B)&((C+1)*i<=D):
continue
else:
print(i-1)
exit()