Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Pahoittelemme, ettÀ jotain meni pieleen. MitÀ tapahtui?

book
Large Powers of 5

Given an integer n, return the last two digits of the number 5 raised to the power of n. Note that n can be rather large, so direct computation may not be feasible. The task requires an efficient approach to solve the problem.

Example 1

Input:

2

Output:

25
main.cpp

main.cpp

cpp

Kysy tekoÀlyÀ

expand

Kysy tekoÀlyÀ

ChatGPT

Kysy mitÀ tahansa tai kokeile jotakin ehdotetuista kysymyksistÀ aloittaaksesi keskustelumme

some-alt