Editorial for Дәреже
Remember to use this editorial only when stuck, and not to copy-paste code from it. Please be respectful to the problem author and editorialist.
Submitting an official solution before solving the problem yourself is a bannable offence.
Submitting an official solution before solving the problem yourself is a bannable offence.
Hint 1.
Нәтиже бірдей әрекетті бірнеше рет қайталау арқылы алынады.
Hint 2.
Әр қадамда алдыңғы мәнді 2 есеге арттыру керек.
Hint 3.
Бастапқы мәнді 1 деп алып, осы мәнді \(n\) рет екі еселеп, соңғы нәтижені шығарыңыз.