Quest: on device competitive programming assistant