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.
2024-03-10 20:32:51 +03:00

11 lines
256 B
ObjectPascal
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

uses NumLibABC;
// Разложение полинома с целочисленными коэффициентами
// на рациональные линейные множители
begin
var oL:=new Factors(-20, 7, 73, -42);
var r:=oL.Factorize;
Writeln('k:=',r[0,1]);
for var i:=1 to r[0,0] do r.Row(i).Println;
end.