Data update
This commit is contained in:
parent
81fd053722
commit
52a6ef48dd
10248 changed files with 63654 additions and 6775 deletions
|
|
@ -0,0 +1,11 @@
|
|||
begin
|
||||
repeat
|
||||
var a := ArrGen(6, i -> ArrRandomInteger(4,1,6).Order.Skip(1).Sum);
|
||||
var cnt := a.Count(x -> x >= 15);
|
||||
if (a.Sum < 75) or (cnt < 2) then
|
||||
continue;
|
||||
a.Println;
|
||||
Println($'Sum: {a.Sum}. Count of elements >= 15: {cnt}');
|
||||
break;
|
||||
until False;
|
||||
end.
|
||||
Loading…
Add table
Add a link
Reference in a new issue