Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
with Ada.Text_IO; use Ada.Text_IO;
|
||||
|
||||
procedure Main is
|
||||
type long is range 0 .. 2**64;
|
||||
Seed : long := 675_248;
|
||||
function random return long is
|
||||
begin
|
||||
Seed := Seed * Seed / 1_000 rem 1_000_000;
|
||||
return Seed;
|
||||
end random;
|
||||
begin
|
||||
for I in 1 .. 5 loop
|
||||
Put (long'Image (random));
|
||||
end loop;
|
||||
New_Line;
|
||||
end Main;
|
||||
Loading…
Add table
Add a link
Reference in a new issue