From ec3dbc3d511f071f8bee6ec8be7adb571df66f76 Mon Sep 17 00:00:00 2001 From: lee Date: Fri, 10 Apr 2020 19:20:54 +0100 Subject: [PATCH] adding time-limit on tetris-optimizer --- subjects/tetris-optimizer/tetris-optimizer.audit.en.md | 6 +++--- subjects/tetris-optimizer/tetris-optimizer.en.md | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/subjects/tetris-optimizer/tetris-optimizer.audit.en.md b/subjects/tetris-optimizer/tetris-optimizer.audit.en.md index f7b28a8d..3f3d323d 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 '.')? +###### Does the result contain 4 empty spaces (4 '.') and a time limit lesser or equal to 0,018s? ##### Try good example 03 (https://public.01-edu.org/subjects/tetris-optimizer/goodexample03). -###### Does the result contain 5 empty spaces (5 '.')? +###### Does the result contain 5 empty spaces (5 '.') and a time limit lesser or equal to 0,090s? ##### Try hard example (https://public.01-edu.org/subjects/tetris-optimizer/hardexam). -###### Does the result contain 1 empty spaces (1 '.')? +###### Does the result contain 1 empty spaces (1 '.') and a time limit lesser or equal to 51,600s? ###### 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 8caa9039..a05e803a 100644 --- a/subjects/tetris-optimizer/tetris-optimizer.en.md +++ b/subjects/tetris-optimizer/tetris-optimizer.en.md @@ -20,6 +20,7 @@ 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 @@ -35,7 +36,7 @@ The program must : ..## ``` -- If it isn't possible to form a complete square, the program should leave spaces between the tetrominoes. For example: +- If it isn't possible to form a complete square, the program should leave spaces between the tetrominoes. For example: ```console ABB.