summaryrefslogtreecommitdiffstats
path: root/šola/aps1/dn/mediane/generate.php
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2024-11-18 00:18:24 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2024-11-18 00:18:24 +0100
commit5ddc2e50dcfe5a1e36bb5a04008e29a33a661921 (patch)
tree50d520ad03f3f267aa7f6504c6e15d9106b97ae6 /šola/aps1/dn/mediane/generate.php
parentaps1dn2: zlivanje (diff)
downloadr-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.php6
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;