PascalABC.NET
begin
var T := ReadInteger('T =');
var P := ReadArrInteger(ReadInteger('n =')).Where(x -> x > t).Sum.Println;
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
PascalABC.NET
begin
var T := ReadInteger('T =');
var P := ReadArrInteger(ReadInteger('n =')).Where(x -> x > t).Sum.Println;
end.