UCLA ICPC Spring Practice 8 Rerun