From b74c99441e14de473efb1afbb24796cede1aec39 Mon Sep 17 00:00:00 2001 From: Cassio de Campos Date: Sat, 12 Aug 2017 09:14:46 +0100 Subject: at least 512m for compiling --- doc/problemexamples/problemtemplate/compile/c | 2 +- doc/problemexamples/problemtemplate/compile/cc | 2 +- doc/problemexamples/problemtemplate/compile/cpp | 2 +- doc/problemexamples/problemtemplate/compile/java | 2 +- doc/problemexamples/problemtemplate/compile/pas | 2 +- doc/problemexamples/problemtemplate/compile/py2 | 2 +- doc/problemexamples/problemtemplate/compile/py3 | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/problemexamples/problemtemplate') diff --git a/doc/problemexamples/problemtemplate/compile/c b/doc/problemexamples/problemtemplate/compile/c index 93b8697..fbb8e4d 100644 --- a/doc/problemexamples/problemtemplate/compile/c +++ b/doc/problemexamples/problemtemplate/compile/c @@ -86,7 +86,7 @@ if [ ! -x $sf ]; then fi maxm=512000 if [ "$4" != "" ]; then - if [ "$4" -gt "0" ]; then + if [ "$4" -gt "512" ]; then maxm=${4}000 fi fi diff --git a/doc/problemexamples/problemtemplate/compile/cc b/doc/problemexamples/problemtemplate/compile/cc index b1f7c8a..02d541e 100644 --- a/doc/problemexamples/problemtemplate/compile/cc +++ b/doc/problemexamples/problemtemplate/compile/cc @@ -87,7 +87,7 @@ if [ ! -x $sf ]; then fi maxm=512000 if [ "$4" != "" ]; then - if [ "$4" -gt "0" ]; then + if [ "$4" -gt "512" ]; then maxm=${4}000 fi fi diff --git a/doc/problemexamples/problemtemplate/compile/cpp b/doc/problemexamples/problemtemplate/compile/cpp index 2da3e4a..88412d6 100644 --- a/doc/problemexamples/problemtemplate/compile/cpp +++ b/doc/problemexamples/problemtemplate/compile/cpp @@ -86,7 +86,7 @@ if [ ! -x $sf ]; then fi maxm=512000 if [ "$4" != "" ]; then - if [ "$4" -gt "0" ]; then + if [ "$4" -gt "512" ]; then maxm=${4}000 fi fi diff --git a/doc/problemexamples/problemtemplate/compile/java b/doc/problemexamples/problemtemplate/compile/java index 86db23c..2220575 100644 --- a/doc/problemexamples/problemtemplate/compile/java +++ b/doc/problemexamples/problemtemplate/compile/java @@ -96,7 +96,7 @@ fi let "ttime = $time + 30" maxm=512 -if [ "$4" != "" -a "$4" -gt "0" ]; then +if [ "$4" != "" -a "$4" -gt "512" ]; then maxm=$4 fi diff --git a/doc/problemexamples/problemtemplate/compile/pas b/doc/problemexamples/problemtemplate/compile/pas index e0b73ca..c92f728 100644 --- a/doc/problemexamples/problemtemplate/compile/pas +++ b/doc/problemexamples/problemtemplate/compile/pas @@ -86,7 +86,7 @@ if [ ! -x $sf ]; then fi maxm=512000 if [ "$4" != "" ]; then - if [ "$4" -gt "0" ]; then + if [ "$4" -gt "512" ]; then maxm=${4}000 fi fi diff --git a/doc/problemexamples/problemtemplate/compile/py2 b/doc/problemexamples/problemtemplate/compile/py2 index 0cd86d3..2be23db 100644 --- a/doc/problemexamples/problemtemplate/compile/py2 +++ b/doc/problemexamples/problemtemplate/compile/py2 @@ -86,7 +86,7 @@ if [ ! -x $sf ]; then fi maxm=512000 if [ "$4" != "" ]; then - if [ "$4" -gt "0" ]; then + if [ "$4" -gt "512" ]; then maxm=${4}000 fi fi diff --git a/doc/problemexamples/problemtemplate/compile/py3 b/doc/problemexamples/problemtemplate/compile/py3 index 6f28a72..32b0f8d 100755 --- a/doc/problemexamples/problemtemplate/compile/py3 +++ b/doc/problemexamples/problemtemplate/compile/py3 @@ -86,7 +86,7 @@ if [ ! -x $sf ]; then fi maxm=512000 if [ "$4" != "" ]; then - if [ "$4" -gt "0" ]; then + if [ "$4" -gt "512" ]; then maxm=${4}000 fi fi -- cgit v1.2.3