summaryrefslogtreecommitdiffstats
path: root/problems/bs/inits/a.php
diff options
context:
space:
mode:
authorroot <root@localhost>2012-12-30 16:05:36 +0330
committerMahrud Sayrafi <mahrud@eve>2012-12-30 05:33:01 -0800
commitb300254ee1f308c440d8e8d8129fb863b6ec9599 (patch)
tree13b4c0871e5ed92b517c002ab815da7f0fe5fbcc /problems/bs/inits/a.php
parent9cb5ecf6956115140521d74cea8b4191634842fd (diff)
downloadhellijudge-legacy.git-ab469431224413db079254be0a12bd2d5eb7091c.tar.gz
hellijudge-legacy.git-ab469431224413db079254be0a12bd2d5eb7091c.tar.xz
hellijudge-legacy.git-ab469431224413db079254be0a12bd2d5eb7091c.zip
Making the legacy more usefulv0.9
Added a brief installation guide in README along with etc config file samples. Added a couple of useful start and kill scripts in utils folder. Added two sample problems (one normal one interactive) along with testers in utils folder.
Diffstat (limited to 'problems/bs/inits/a.php')
-rw-r--r--problems/bs/inits/a.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/problems/bs/inits/a.php b/problems/bs/inits/a.php
new file mode 100644
index 0000000..3183e5d
--- /dev/null
+++ b/problems/bs/inits/a.php
@@ -0,0 +1,8 @@
+<?php
+
+ for ($i = 0; $i < 5; $i++) echo rand(1, 1000)."\n";
+ for ($i = 5; $i < 10; $i++) echo rand(1, 1000).rand(1, 1000)."\n";
+ for ($i = 10; $i < 15; $i++) echo rand(1, 1000).rand(1, 1000).rand(1, 1000)."\n";
+ for ($i = 15; $i < 20; $i++) echo rand(1, 1000).rand(1, 1000).rand(1, 1000).rand(1, 1000)."\n";
+ for ($i = 20; $i < 25; $i++) echo rand(1, 1000).rand(1, 1000).rand(1, 1000).rand(1, 1000).rand(1, 1000)."\n";
+?>