fix: typo, build
All checks were successful
Build and Deploy Quartz / build-and-deploy (push) Successful in 1m7s

This commit is contained in:
2026-02-07 22:31:41 +08:00
parent f603ba758a
commit 6f1837415e

View File

@@ -13,6 +13,7 @@ struct ProductInfo {
// higher number means better quality
int quality; // [0, 10000]
int price; // [0, INT_MAX)
};
```
Given a collection of `ProductInfo`, then answer several queries.
@@ -28,7 +29,7 @@ We could also say: Given array of pair `{a, b}`, when query gives `k`, find pair
## Complexity Requirement
Answer query should be in $O(1)$ time complexity after $O(n)$ pre-processing. Where $n$ is the range size of `pair.a`
Answer query should be in $O(1)$ time complexity after $O(n)$ pre-processing in which $n$ is the range size of `pair.a`
# Solution