HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Forums > Discussion of problems > topic:


Problem "50342 - 100 Factorial"

There is a contest!

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

imesecanJuly.12.2015 at 01:04:34 PM
0-- Test 1 ---
12

--- Pattern ---
479001600

imesecanDec.20.2015 at 03:47:42 PM
1-- Test 2 ---
24

--- Pattern ---
620448401733239439360000

imesecanDec.20.2015 at 03:52:49 PM
2In Java you can use Big Integer data type. However, in C/C++ you cannot represent 100! using integer or long long.

You can use an array to store every digit of a number. And then using a function you can multiply an array with an integer.


www.contester.ru