n = int(input()) x, y = map(int, input().split()) w = [] for i in range(0, n): L, R = map(int, input().split()) w.append({"L": L, "R": R, "val": L * R}) w.sort(key=lambda node: node["val"]) cnt = x ans = 0 for i in range(0, n): ans = max(ans, cnt // w[i]["R"]) cnt *= w[i]["L"] print("%d" % ans, end="")
近期评论