2010 gcj r1c problem c has been solved