Learn algorithms for icpc.