===== PascalABC.NET =====
begin
var n := ReadInteger('n =');
var a := ReadArrInteger('Вводите:', n);
a.Where(p -> p mod 3 = 0).SortedDescending.Println
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
===== PascalABC.NET =====
begin
var n := ReadInteger('n =');
var a := ReadArrInteger('Вводите:', n);
a.Where(p -> p mod 3 = 0).SortedDescending.Println
end.