aboutsummaryrefslogtreecommitdiff
path: root/doc/problemexamples/problemtemplate
diff options
context:
space:
mode:
authorBruno Ribas <brunoribas@gmail.com>2016-11-04 17:04:54 +0000
committerBruno Ribas <brunoribas@gmail.com>2016-11-04 17:04:54 +0000
commita37edf8956630397abc2c20d66f465af032ec231 (patch)
tree260aef389bd5d05102d83feb6d5c254cf76e55d4 /doc/problemexamples/problemtemplate
parent11cc1b0d3ebb944838b30da33b3f30d78e2f1e6b (diff)
downloadboca-a37edf8956630397abc2c20d66f465af032ec231.tar.gz
boca-a37edf8956630397abc2c20d66f465af032ec231.zip
Update limits/{c,cc,cpp,java}: To current usage
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
Diffstat (limited to 'doc/problemexamples/problemtemplate')
-rw-r--r--doc/problemexamples/problemtemplate/limits/c6
-rw-r--r--doc/problemexamples/problemtemplate/limits/cc6
-rw-r--r--doc/problemexamples/problemtemplate/limits/cpp6
-rw-r--r--doc/problemexamples/problemtemplate/limits/java6
4 files changed, 12 insertions, 12 deletions
diff --git a/doc/problemexamples/problemtemplate/limits/c b/doc/problemexamples/problemtemplate/limits/c
index b5aec73..5701ffc 100644
--- a/doc/problemexamples/problemtemplate/limits/c
+++ b/doc/problemexamples/problemtemplate/limits/c
@@ -1,10 +1,10 @@
#!/bin/bash
# this executable shall output the number of second of timelimit in the first line, for the given problem and with language according to this filename
-echo 4
+echo 1
# and the number of repetitions to run within the given timelimit in the second line
-echo 10
+echo 1
# and the maximum amount of memory per repetition in the third line (in Mbytes)
-echo 512
+echo 1024
# and the maximum file size in the fourth line (in kbytes)
echo 1024
# and shall return zero to indicate no failure
diff --git a/doc/problemexamples/problemtemplate/limits/cc b/doc/problemexamples/problemtemplate/limits/cc
index b5aec73..5701ffc 100644
--- a/doc/problemexamples/problemtemplate/limits/cc
+++ b/doc/problemexamples/problemtemplate/limits/cc
@@ -1,10 +1,10 @@
#!/bin/bash
# this executable shall output the number of second of timelimit in the first line, for the given problem and with language according to this filename
-echo 4
+echo 1
# and the number of repetitions to run within the given timelimit in the second line
-echo 10
+echo 1
# and the maximum amount of memory per repetition in the third line (in Mbytes)
-echo 512
+echo 1024
# and the maximum file size in the fourth line (in kbytes)
echo 1024
# and shall return zero to indicate no failure
diff --git a/doc/problemexamples/problemtemplate/limits/cpp b/doc/problemexamples/problemtemplate/limits/cpp
index b5aec73..5701ffc 100644
--- a/doc/problemexamples/problemtemplate/limits/cpp
+++ b/doc/problemexamples/problemtemplate/limits/cpp
@@ -1,10 +1,10 @@
#!/bin/bash
# this executable shall output the number of second of timelimit in the first line, for the given problem and with language according to this filename
-echo 4
+echo 1
# and the number of repetitions to run within the given timelimit in the second line
-echo 10
+echo 1
# and the maximum amount of memory per repetition in the third line (in Mbytes)
-echo 512
+echo 1024
# and the maximum file size in the fourth line (in kbytes)
echo 1024
# and shall return zero to indicate no failure
diff --git a/doc/problemexamples/problemtemplate/limits/java b/doc/problemexamples/problemtemplate/limits/java
index b5aec73..5701ffc 100644
--- a/doc/problemexamples/problemtemplate/limits/java
+++ b/doc/problemexamples/problemtemplate/limits/java
@@ -1,10 +1,10 @@
#!/bin/bash
# this executable shall output the number of second of timelimit in the first line, for the given problem and with language according to this filename
-echo 4
+echo 1
# and the number of repetitions to run within the given timelimit in the second line
-echo 10
+echo 1
# and the maximum amount of memory per repetition in the third line (in Mbytes)
-echo 512
+echo 1024
# and the maximum file size in the fourth line (in kbytes)
echo 1024
# and shall return zero to indicate no failure