GCJ 2013 solutions