icpc2014rpA