the code written in algorithm contests