mirror of https://github.com/01-edu/public.git
2 changed files with 20 additions and 0 deletions
@ -0,0 +1,10 @@
|
||||
##**WARNING! VERY IMPORTANT!** |
||||
|
||||
For this exercise a function will be tested **with the exam own main**. However the student **still needs** to submit a structured program: |
||||
|
||||
This means that: |
||||
|
||||
- The package needs to be named `package main`. |
||||
- The submitted code needs one declared function main(```func main()```) even if empty. |
||||
- The function main declared needs to **also pass** the `Restrictions Checker`(illegal functions tester). It is advised for the student to just empty the function main after its own testings are done. |
||||
- Every other rules are obviously the same than for a `program`. |
@ -0,0 +1,10 @@
|
||||
##**AVERTISSEMENT! TRÈS IMPORTANT!** |
||||
|
||||
Pour cet exercice une fonction sera testée **avec le main de l'examen**. Cependant l'étudiant **doit quand même** rendre un programme structuré: |
||||
|
||||
Cela signifie que: |
||||
|
||||
- Le package doit être nommé `package main`. |
||||
- Le code rendu doit avoir une fonction main déclarée(```func main()```) même si elle est vide. |
||||
- La fonction main déclarée doit **aussi passer** le `Restrictions Checker`(le testeur de fonctions illégales). Il est conseillé à l'étudiant de rendre une fonction main vide après ses tests finis. |
||||
- Toutes les autres régles sont les mêmes que pour un `programme`. |
Loading…
Reference in new issue