| 
| Идёт турнир! |  | В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания. 
 |  
 | 
| imesecan | 24.фев.2013 в 17:40:39 |  |  | 0 | Реплика удалена 
 
 |  | imesecan | 24.фев.2013 в 17:42:22 |  |  | 1 | Реплика удалена 
 
 |  | imesecan | 03.мар.2013 в 09:22:46 |  |  | 2 | It's not with a normal integer or long long variables. You will use an array to store your number. You can store every digit in a separate array element. You should better keep your number in reverse because after every multiplication your number can easily find a place to grow.
 
 For example: if you have 5278 you can keep it in the array like:
 4 8 7 2 5
 where 4 at the beginning is the size of the array that the number has 4 digits. Then your number comes.
 and so on.
 
 
 |  
 |