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.
Post Reply
User avatar
dovier
Posts: 1097
Joined: 7 years ago
Location: Havana, Cuba
Gender: Male
Cuba

2926 - Ivan

Post by dovier » 4 years ago




User avatar
alurquiza
Posts: 54
Joined: 3 years ago
Gender: Male

Re: 2926 - Ivan

Post by alurquiza » 2 years ago

Hint muy descarao: matrix exponentation

HaZard
Posts: 115
Joined: 4 years ago
Location: Camagüey - Cuba
Gender: Male
Contact:
Cuba

Re: 2926 - Ivan

Post by HaZard » 2 years ago

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

Post Reply

Return to “Problem set”