From 897384ab2441da9c5d8c595cf65987fa6f027f0f Mon Sep 17 00:00:00 2001 From: Bruno Cesar Ribas Date: Sat, 25 May 2019 08:52:26 -0300 Subject: 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 --- doc/problemexamples/problemtemplate/compile/java | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/problemexamples/problemtemplate') 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 -- cgit v1.2.3