How to solve Masha and geometric depression without bruteforce ?

Revision en1, by daihan, 2017-04-01 18:25:31

Is this possible to solve this problem with math logic ? wIthout bruteforce , easy implementation ? problem link

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English daihan 2017-04-01 18:25:31 223 Initial revision (published)