pat:http://pat.zju.edu.cn/contests/pat-a-practise zoj:http://acm.zju.edu.cn/onlinejudge/showProblems.do?contestId=1&pageNumber=1