Good Array

Good Array

Limits 1s, 512 MB

An integer array is a good array if we can make the whole array empty by applying the following operation an arbitrary number of times:


This is a companion discussion topic for the original entry at https://toph.co/p/game-on-array