We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c55477 commit ee28bffCopy full SHA for ee28bff
1 file changed
C++/integer-break.cpp
@@ -10,7 +10,7 @@ class Solution {
10
11
// Proof.
12
// 1. Let n = a1 + a2 + ... + ak, product = a1 * a2 * ... * ak
13
- // - For each aj >= 4, we can always maximize the product by:
+ // - For each ai >= 4, we can always maximize the product by:
14
// ai <= 2 * (ai - 2)
15
// - For each aj >= 5, we can always maximize the product by:
16
// aj <= 3 * (aj - 3)
0 commit comments