diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2024-11-18 00:18:24 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2024-11-18 00:18:24 +0100 |
commit | 5ddc2e50dcfe5a1e36bb5a04008e29a33a661921 (patch) | |
tree | 50d520ad03f3f267aa7f6504c6e15d9106b97ae6 /šola/aps1/dn/mediane/generate.php | |
parent | aps1dn2: zlivanje (diff) | |
download | r-master.tar r-master.tar.gz r-master.tar.bz2 r-master.tar.lz r-master.tar.xz r-master.tar.zst r-master.zip |
Diffstat (limited to 'šola/aps1/dn/mediane/generate.php')
-rwxr-xr-x | šola/aps1/dn/mediane/generate.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/šola/aps1/dn/mediane/generate.php b/šola/aps1/dn/mediane/generate.php new file mode 100755 index 0000000..d07e0f4 --- /dev/null +++ b/šola/aps1/dn/mediane/generate.php @@ -0,0 +1,6 @@ +#!/usr/bin/php +<?php +$N=random_int(1,1e5); +echo $N . PHP_EOL; +for($i=0;$i<$N;$i++) + echo random_int(0, 1e9) . PHP_EOL; |