initial version, added SPOJ,UVA,USACO