From fde4fefead269ba420ded58195a16c609626ef28 Mon Sep 17 00:00:00 2001 From: lee Date: Sat, 11 Apr 2020 17:33:50 +0100 Subject: [PATCH] adding time limit to good-practices --- subjects/good-practices.en.md | 4 ++++ subjects/lem-in/lem-in.audit.en.md | 4 ++-- subjects/tetris-optimizer/tetris-optimizer.audit.en.md | 6 +++--- subjects/tetris-optimizer/tetris-optimizer.en.md | 1 - 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/subjects/good-practices.en.md b/subjects/good-practices.en.md index 5cb0a4fb..e70e22d2 100644 --- a/subjects/good-practices.en.md +++ b/subjects/good-practices.en.md @@ -35,3 +35,7 @@ ### Dockerfile - [**Dockerfile**](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/) + +### Time Limitation + +- Every computing programs should execute in a time limit of 5 minutes. diff --git a/subjects/lem-in/lem-in.audit.en.md b/subjects/lem-in/lem-in.audit.en.md index 213c4c11..9e6e8d33 100644 --- a/subjects/lem-in/lem-in.audit.en.md +++ b/subjects/lem-in/lem-in.audit.en.md @@ -295,11 +295,11 @@ student$ ##### Try running the program with example06.txt and with 100 ants. -###### Is the real time less than 0.5 seconds? +###### Is the real time less than 1.5 minutes? ##### Try running the program with example07.txt and with 1000 ants. -###### Is the real time less than 1.5 seconds? +###### Is the real time less than 2.5 minutes? ##### Try running the program with a valid example of your choice. diff --git a/subjects/tetris-optimizer/tetris-optimizer.audit.en.md b/subjects/tetris-optimizer/tetris-optimizer.audit.en.md index 3f3d323d..404ec881 100644 --- a/subjects/tetris-optimizer/tetris-optimizer.audit.en.md +++ b/subjects/tetris-optimizer/tetris-optimizer.audit.en.md @@ -48,15 +48,15 @@ ##### Try good example 02 (https://public.01-edu.org/subjects/tetris-optimizer/goodexample02). -###### Does the result contain 4 empty spaces (4 '.') and a time limit lesser or equal to 0,018s? +###### Does the result contain 4 empty spaces (4 '.') and a time limit lesser or equal to the one in the [good practices](https://public.01-edu.org/subjects/good-practices.en)? ##### Try good example 03 (https://public.01-edu.org/subjects/tetris-optimizer/goodexample03). -###### Does the result contain 5 empty spaces (5 '.') and a time limit lesser or equal to 0,090s? +###### Does the result contain 5 empty spaces (5 '.') and a time limit lesser or equal to the one in the [good practices](https://public.01-edu.org/subjects/good-practices.en)? ##### Try hard example (https://public.01-edu.org/subjects/tetris-optimizer/hardexam). -###### Does the result contain 1 empty spaces (1 '.') and a time limit lesser or equal to 51,600s? +###### Does the result contain 1 empty spaces (1 '.') and a time limit lesser or equal to the one in the [good practices](https://public.01-edu.org/subjects/good-practices.en)? ###### Are all of the Tetrominos contained in the test file, present in the output? diff --git a/subjects/tetris-optimizer/tetris-optimizer.en.md b/subjects/tetris-optimizer/tetris-optimizer.en.md index a05e803a..30f1709b 100644 --- a/subjects/tetris-optimizer/tetris-optimizer.en.md +++ b/subjects/tetris-optimizer/tetris-optimizer.en.md @@ -20,7 +20,6 @@ The program must : - The project must be written in **Go**. - The code must respect the [**good practices**](https://public.01-edu.org/subjects/good-practices.en). - It is recommended that the code should present a **test file**. -- You must work for the best performance possible, the time limit for the project will be tested. #### Example of a text File