Page 1 of 1

12350 - Queen Game

Posted: Sat Apr 20, 2013 9:25 am
by tzupengwang
Can anyone give a hint on how to solve the problem??
C is up to 10^15.Is there a math solution or there's a quick algorithm?
:)