2 ms·
It reminds me of this (scroll down to "Regular Expression Pathfinding" section): http://realgl.blogspot.com/2013/08/battlecode.html http://realgl.blogspot.com/
by userbinator 8y ago
It reminds me of this (scroll down to "Regular Expression Pathfinding" section):
http://realgl.blogspot.com/2013/08/battlecode.html http://realgl.blogspot.com/2013/08/battlecode.html
tl;dr: competition counts cycles but excludes certain standard library functions, one of which is a regex matcher, so someone naturally decides to use it for much of his algorithm.