My competitive programming code.