aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Cesar Ribas <brunoribas@gmail.com>2019-05-25 11:52:26 +0000
committerBruno Cesar Ribas <brunoribas@gmail.com>2019-05-25 11:52:26 +0000
commit897384ab2441da9c5d8c595cf65987fa6f027f0f (patch)
treeb7cb22bc254ddb64242e352eccbb493b003936d9 /doc
parente8317bc23f74cde93503714dc2dc9edfe937b30b (diff)
downloadboca-897384ab2441da9c5d8c595cf65987fa6f027f0f.tar.gz
boca-897384ab2441da9c5d8c595cf65987fa6f027f0f.zip
problemtemplate/compile/java: Force 30sec time while compiling
This will force compile time in java to be at most 30 seconds. This is due the way safeexec is being called. Signed-off-by: Bruno Cesar Ribas <brunoribas@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/problemexamples/problemtemplate/compile/java1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/problemexamples/problemtemplate/compile/java b/doc/problemexamples/problemtemplate/compile/java
index 2220575..18f4d3e 100644
--- a/doc/problemexamples/problemtemplate/compile/java
+++ b/doc/problemexamples/problemtemplate/compile/java
@@ -94,6 +94,7 @@ else
time=$3
fi
let "ttime = $time + 30"
+time=30
maxm=512
if [ "$4" != "" -a "$4" -gt "512" ]; then