Data update
This commit is contained in:
parent
8e4e15fa56
commit
72eb4943cb
1853 changed files with 35514 additions and 9441 deletions
|
|
@ -0,0 +1,10 @@
|
|||
##
|
||||
function maxNum(x: array of integer): string;
|
||||
begin
|
||||
var s := x.select(n -> n.tostring).ToList;
|
||||
sort(s, (x, y) -> (x > y));
|
||||
result := s.Aggregate((p, x) -> p + x);
|
||||
end;
|
||||
|
||||
maxNum([1, 34, 3, 98, 9, 76, 45, 4]).println;
|
||||
maxNum([54, 546, 548, 60]).println;
|
||||
Loading…
Add table
Add a link
Reference in a new issue