summaryrefslogtreecommitdiffstats
path: root/šola/aps1/dn/mediane/generate.php
diff options
context:
space:
mode:
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;