Function ADS::minimumSquares
Defined in File KnapsackVariants.h
Function Documentation
-
inline int ADS::minimumSquares(std::int64_t n)
the fewest squares of positive integers summing to n
- Pre:
n >= 0
- Post:
at most 4
Defined in File KnapsackVariants.h
the fewest squares of positive integers summing to n
n >= 0
at most 4