Utopian Tree

This works on Windows on my machine; however, there's a compiler error
on HackerRank... my guess is that HackerRank isn't using the reference
compiler?