mirror of https://github.com/01-edu/public.git
adding time limit to good-practices
This commit is contained in:
parent
ec3dbc3d51
commit
fde4fefead
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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?
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue