2926 - Ivan

Discussion around the problems of the COJ.
Forum rules
Remember that posting AC code is not allowed here. If you are going to ask a question or to post a solution, describe your algorithm instead. Posting AC code will be penalized.
User avatar
dovier
Posts: 1053
Joined: Fri Nov 11, 2011 9:32 am
Location: Havana, Cuba
Gender: Male

2926 - Ivan

Postby dovier » Wed May 28, 2014 5:55 pm




User avatar
alurquiza
Posts: 54
Joined: Mon Jun 22, 2015 3:47 pm
Gender: Male

Re: 2926 - Ivan

Postby alurquiza » Fri Nov 18, 2016 1:14 pm

Hint muy descarao: matrix exponentation

HaZard
Posts: 113
Joined: Sun Feb 09, 2014 9:43 am
Location: Camagüey - Cuba
Gender: Male
Contact:

Re: 2926 - Ivan

Postby HaZard » Sat Nov 19, 2016 3:57 pm

tambien sale por una sucesion, lo que hay que hacer una observacion, porque N <= 2*10^9, pero es mucho mas rapido que la exponenciacion de matrices
teruel


Return to “Problem set”

Who is online

Users browsing this forum: No registered users and 1 guest