There is a buried logic problem (or a trick question) about whether the conditions can be met, and the analysis shows that
ultimately the olympiad question is based on primitive roots, although they are not used anywhere in the solution!
The logical problem is that
if there exists no power of $2$ with the intended set of last $5$ digits, then the answer is anything at all (ex falso quodlibet) if one retains the existence assumption, or if one rejects it, the empty set (of $5$-digit strings of $3$'s and $6$'s).
If the needed power of $2$ exists but this is not proved, the solution only demonstrates that if the claimed power of $2$ exists, its last $5$ digits are $63366$.
To prove that the necessary power of $2$ exists is a form of discrete logarithm problem, find $n$ so that $2^n = 66336 \mod 100000$ (or show that an $n$ exists). A CAS says $n= 1196$ is the smallest solution. Without machine computation, $2$ is a primitive root modulo any power of $5$, and numbers ending in $3$ or $6$ are invertible mod $5$, so that $n$ exists and is unique mod $\varphi(5^5)$. According to the computer:
2^1196 = 1076154966024109413629211106003289717723745296590543120108327301025046293202609101212342783577252885830398182439497599236786557955676041314061975617670544834041218966978499430055292493532503445244154191526191032889459105329265035575618285860377372911545948985983714623669661161736418836299827548279852992159749169546641960180764219762832432152244594446314766336.
Other than $2$ being a primitive root, what makes the intended problem work is that $10$ is divisible by $2^1$ (and no higher power of $2$), $3$ and $6$ cover all residue classes mod $2$, and are both relatively prime to $\frac{10}{2}$. A similar problem could be asked about powers of $5$ with all the last $n$ digits equal to $1,3,5,7$, or $9$, which is the only set of digits that are odd and cover the residue classes mod $5$. All values mod $5^n$ can be reached uniquely by a combination of those digits, but because $5$ is not a primitive root modulo $4$, there is a limit to the values of $n$ where this can be done mod $10^n$, and in fact only $n=1$ is solvable.
The lucky fact of $2$ being a $5$-adic primitive root allows, for any desired length of the digit sequence, to boost the unique mod $2^n$ solution consistent with the given digits, to a mod $10^n$ solution, i.e., one that is the last $n$ digits of a power of $2$.