Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
12
Task/Knuths-algorithm-S/Ada/knuths-algorithm-s-1.ada
Normal file
12
Task/Knuths-algorithm-S/Ada/knuths-algorithm-s-1.ada
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
generic
|
||||
Sample_Size: Positive;
|
||||
type Item_Type is private;
|
||||
package S_Of_N_Creator is
|
||||
|
||||
subtype Index_Type is Positive range 1 .. Sample_Size;
|
||||
type Item_Array is array (Index_Type) of Item_Type;
|
||||
|
||||
procedure Update(New_Item: Item_Type);
|
||||
function Result return Item_Array;
|
||||
|
||||
end S_Of_N_Creator;
|
||||
Loading…
Add table
Add a link
Reference in a new issue