This repository has been archived on 2024-12-25. You can view files and clone it, but cannot push or open issues or pull requests.
2023-06-20 21:52:24 +03:00

12 lines
270 B
ObjectPascal

// Использование длинных целых. Вычисление 100!
{$reference 'System.Numerics.dll'}
uses System.Numerics;
var n := 100;
begin
var f := new BigInteger(1);
for var i:=2 to n do
f := f * i;
writelnFormat('{0}! = {1}',n,f);
end.