Browse Source

fixed tasks input

content-update
yenlik29 5 years ago committed by Xavier Petit
parent
commit
290e0f82c6
  1. 2
      subjects/fibonacci.en.md
  2. 2
      subjects/fibonacci.fr.md
  3. 2
      subjects/findnextprime.en.md
  4. 2
      subjects/findnextprime.fr.md
  5. 2
      subjects/isprime.en.md
  6. 2
      subjects/isprime.fr.md
  7. 2
      subjects/iterativefactorial.en.md
  8. 2
      subjects/iterativefactorial.fr.md
  9. 2
      subjects/iterativepower.en.md
  10. 2
      subjects/iterativepower.fr.md
  11. 2
      subjects/recursivefactorial.en.md
  12. 2
      subjects/recursivefactorial.fr.md
  13. 2
      subjects/recursivepower.en.md
  14. 2
      subjects/recursivepower.fr.md
  15. 2
      subjects/sqrt.en.md
  16. 2
      subjects/sqrt.fr.md

2
subjects/fibonacci.en.md

@ -17,7 +17,7 @@ A negative index will return `-1`.
```go ```go
package main package main
func Fibonacci(int index) int { func Fibonacci(index int) int {
} }
``` ```

2
subjects/fibonacci.fr.md

@ -17,7 +17,7 @@ Un index négatif renvoie `-1`.
```go ```go
package main package main
func Fibonacci(int index) int { func Fibonacci(index int) int {
} }
``` ```

2
subjects/findnextprime.en.md

@ -9,7 +9,7 @@ The function must be optimized in order to avoid time-outs with the tester.
### Expected function ### Expected function
```go ```go
func FindNextPrime(int nb) int { func FindNextPrime(nb int) int {
} }
``` ```

2
subjects/findnextprime.fr.md

@ -9,7 +9,7 @@ La fonction devra être optimisée pour éviter les time-outs avec le testeur.
### Fonction attendue ### Fonction attendue
```go ```go
func FindNextPrime(int nb) int { func FindNextPrime(nb int) int {
} }
``` ```

2
subjects/isprime.en.md

@ -9,7 +9,7 @@ The function must be optimized in order to avoid time-outs with the tester.
### Expected function ### Expected function
```go ```go
func IsPrime(int nb) bool { func IsPrime(nb int) bool {
} }
``` ```

2
subjects/isprime.fr.md

@ -9,7 +9,7 @@ La fonction devra être optimisée pour éviter les time-outs avec le testeur.
### Fonction attendue ### Fonction attendue
```go ```go
func IsPrime(int nb) bool { func IsPrime(nb int) bool {
} }
``` ```

2
subjects/iterativefactorial.en.md

@ -9,7 +9,7 @@ Errors (non possible values or overflows) will return `0`.
### Expected function ### Expected function
```go ```go
func IterativeFactorial(int nb) int { func IterativeFactorial(nb int) int {
} }
``` ```

2
subjects/iterativefactorial.fr.md

@ -9,7 +9,7 @@ Les erreurs (valeurs non possibles ou overflows) renverront `0`.
### Fonction attendue ### Fonction attendue
```go ```go
func IterativeFactorial(int nb) int { func IterativeFactorial(nb int) int {
} }
``` ```

2
subjects/iterativepower.en.md

@ -9,7 +9,7 @@ Negative powers will return `0`. Overflows do **not** have to be dealt with.
### Expected function ### Expected function
```go ```go
func IterativePower(int nb, int power) int { func IterativePower(nb int, power int) int {
} }
``` ```

2
subjects/iterativepower.fr.md

@ -9,7 +9,7 @@ Les puissances négatives renverront `0`. Les overflows **ne doivent pas** être
### Fonction attendue ### Fonction attendue
```go ```go
func IterativePower(int nb, int power) int { func IterativePower(nb int, power int) int {
} }
``` ```

2
subjects/recursivefactorial.en.md

@ -11,7 +11,7 @@ Errors (non possible values or overflows) will return `0`.
### Expected function ### Expected function
```go ```go
func RecursiveFactorial(int nb) int { func RecursiveFactorial(nb int) int {
} }
``` ```

2
subjects/recursivefactorial.fr.md

@ -11,7 +11,7 @@ Les erreurs (valeurs non possibles ou overflows) renverront `0`.
### Fonction attendue ### Fonction attendue
```go ```go
func RecursiveFactorial(int nb) int { func RecursiveFactorial(nb int) int {
} }
``` ```

2
subjects/recursivepower.en.md

@ -11,7 +11,7 @@ Negative powers will return `0`. Overflows do **not** have to be dealt with.
### Expected function ### Expected function
```go ```go
func RecursivePower(int nb, int power) int { func RecursivePower(nb int, power int) int {
} }
``` ```

2
subjects/recursivepower.fr.md

@ -11,7 +11,7 @@ Les puissances négatives renverront `0`. Les overflows **ne doivent pas** être
### Fonction attendue ### Fonction attendue
```go ```go
func RecursivePower(int nb, int power) int { func RecursivePower(nb int, power int) int {
} }
``` ```

2
subjects/sqrt.en.md

@ -7,7 +7,7 @@ Write a function that returns the square root of the `int` passed as parameter i
### Expected function ### Expected function
```go ```go
func Sqrt(int nb) int { func Sqrt(nb int) int {
} }
``` ```

2
subjects/sqrt.fr.md

@ -7,7 +7,7 @@
### Fonction attendue ### Fonction attendue
```go ```go
func Sqrt(int nb) int { func Sqrt(nb int) int {
} }
``` ```

Loading…
Cancel
Save