solved problems at google code jam