Handbook for ACM-ICPC World Final 2013 on St. Petersburg.