Skip to content

Commit 5a18fbc

Browse files
authoredJan 24, 2024
Update coci-16-burza.mdx
1 parent 48ed4eb commit 5a18fbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎solutions/gold/coci-16-burza.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ unfortunately is still too large for an exponential time solution. But it is
3838

3939
### Further Analysis
4040

41-
To limit the maximum number of nodes to 20, we have to prove that a game can *always*
41+
To limit the maximum number of steps to 20, we have to prove that a game can *always*
4242
end in $k$ moves if $k^2 \geq n$.
4343

4444
Since each move results in breaking a tree down into a bunch of smaller trees,
@@ -98,7 +98,7 @@ n_{r+1} \leq (k-r)^2-2(k-r)=(k-r-1)^2
9898
$$
9999

100100
And we're done! Since we've shown that any case where $k^2 \geq n$ will result in a win, we just
101-
have to handle the case where $K \leq 20$, for which
101+
have to handle the case where $K \le 20$, for which
102102
[bitmask DP](/gold/dp-bitmasks) will suffice.
103103

104104
### Bitmask DP

0 commit comments

Comments
 (0)