HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Forums > Discussion of problems > topic:


Problem "Степень"

There is a contest!

В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания.

imesecanFeb.26.2011 at 09:56:33 PM
0Post is deleted

imesecanFeb.26.2011 at 10:56:45 PM
1Store the numbers digit by digit in separate arrays in reverse.

We need to store in reverse because when we multiply with another number we might have number of digits increased. If it's not reverse then we need to shift all the digits to open anew slot for the new digit.

But if it's reverse (least significant digit at the beginning and the most significant digit at the end) when a new digit comes, we can easily insert it to the end.


www.contester.ru