|
|
back to boardGospers hack Very good opportunity to apply Gosper's hack trick. m is number of different colors in the input. Then iterate through all subsets of size k of m. Re: Gospers hack Posted by Anti 28 Nov 2023 16:07 It's really works. But I don't understand why this algo work. Can you explain me? |
|
|