The problem description is at ftp://acm.scu.edu.cn/contest/20051026/