Browse Source

adding time limit to good-practices

pull/521/head
lee 5 years ago
parent
commit
fde4fefead
  1. 4
      subjects/good-practices.en.md
  2. 4
      subjects/lem-in/lem-in.audit.en.md
  3. 6
      subjects/tetris-optimizer/tetris-optimizer.audit.en.md
  4. 1
      subjects/tetris-optimizer/tetris-optimizer.en.md

4
subjects/good-practices.en.md

@ -35,3 +35,7 @@
### Dockerfile ### Dockerfile
- [**Dockerfile**](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/) - [**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.

4
subjects/lem-in/lem-in.audit.en.md

@ -295,11 +295,11 @@ student$
##### Try running the program with example06.txt and with 100 ants. ##### 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. ##### 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. ##### Try running the program with a valid example of your choice.

6
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). ##### 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). ##### 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). ##### 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? ###### Are all of the Tetrominos contained in the test file, present in the output?

1
subjects/tetris-optimizer/tetris-optimizer.en.md

@ -20,7 +20,6 @@ The program must :
- The project must be written in **Go**. - The project must be written in **Go**.
- The code must respect the [**good practices**](https://public.01-edu.org/subjects/good-practices.en). - 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**. - 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 #### Example of a text File

Loading…
Cancel
Save