From 290e0f82c6e937ba552a7b5355c55a60008612fe Mon Sep 17 00:00:00 2001 From: yenlik29 Date: Fri, 27 Sep 2019 12:22:16 +0600 Subject: [PATCH] fixed tasks input --- subjects/fibonacci.en.md | 2 +- subjects/fibonacci.fr.md | 2 +- subjects/findnextprime.en.md | 2 +- subjects/findnextprime.fr.md | 2 +- subjects/isprime.en.md | 2 +- subjects/isprime.fr.md | 2 +- subjects/iterativefactorial.en.md | 2 +- subjects/iterativefactorial.fr.md | 2 +- subjects/iterativepower.en.md | 2 +- subjects/iterativepower.fr.md | 2 +- subjects/recursivefactorial.en.md | 2 +- subjects/recursivefactorial.fr.md | 2 +- subjects/recursivepower.en.md | 2 +- subjects/recursivepower.fr.md | 2 +- subjects/sqrt.en.md | 2 +- subjects/sqrt.fr.md | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/subjects/fibonacci.en.md b/subjects/fibonacci.en.md index be264324..47e89f3d 100644 --- a/subjects/fibonacci.en.md +++ b/subjects/fibonacci.en.md @@ -17,7 +17,7 @@ A negative index will return `-1`. ```go package main -func Fibonacci(int index) int { +func Fibonacci(index int) int { } ``` diff --git a/subjects/fibonacci.fr.md b/subjects/fibonacci.fr.md index 41807a05..be919178 100644 --- a/subjects/fibonacci.fr.md +++ b/subjects/fibonacci.fr.md @@ -17,7 +17,7 @@ Un index négatif renvoie `-1`. ```go package main -func Fibonacci(int index) int { +func Fibonacci(index int) int { } ``` diff --git a/subjects/findnextprime.en.md b/subjects/findnextprime.en.md index 9d46fee5..6d844c84 100644 --- a/subjects/findnextprime.en.md +++ b/subjects/findnextprime.en.md @@ -9,7 +9,7 @@ The function must be optimized in order to avoid time-outs with the tester. ### Expected function ```go -func FindNextPrime(int nb) int { +func FindNextPrime(nb int) int { } ``` diff --git a/subjects/findnextprime.fr.md b/subjects/findnextprime.fr.md index fbb0db2a..a7c8e088 100644 --- a/subjects/findnextprime.fr.md +++ b/subjects/findnextprime.fr.md @@ -9,7 +9,7 @@ La fonction devra être optimisée pour éviter les time-outs avec le testeur. ### Fonction attendue ```go -func FindNextPrime(int nb) int { +func FindNextPrime(nb int) int { } ``` diff --git a/subjects/isprime.en.md b/subjects/isprime.en.md index 91c85868..0962260c 100644 --- a/subjects/isprime.en.md +++ b/subjects/isprime.en.md @@ -9,7 +9,7 @@ The function must be optimized in order to avoid time-outs with the tester. ### Expected function ```go -func IsPrime(int nb) bool { +func IsPrime(nb int) bool { } ``` diff --git a/subjects/isprime.fr.md b/subjects/isprime.fr.md index 38953f2b..0903a235 100644 --- a/subjects/isprime.fr.md +++ b/subjects/isprime.fr.md @@ -9,7 +9,7 @@ La fonction devra être optimisée pour éviter les time-outs avec le testeur. ### Fonction attendue ```go -func IsPrime(int nb) bool { +func IsPrime(nb int) bool { } ``` diff --git a/subjects/iterativefactorial.en.md b/subjects/iterativefactorial.en.md index f22edcbd..7557d75f 100644 --- a/subjects/iterativefactorial.en.md +++ b/subjects/iterativefactorial.en.md @@ -9,7 +9,7 @@ Errors (non possible values or overflows) will return `0`. ### Expected function ```go -func IterativeFactorial(int nb) int { +func IterativeFactorial(nb int) int { } ``` diff --git a/subjects/iterativefactorial.fr.md b/subjects/iterativefactorial.fr.md index a75a147d..2f98314e 100644 --- a/subjects/iterativefactorial.fr.md +++ b/subjects/iterativefactorial.fr.md @@ -9,7 +9,7 @@ Les erreurs (valeurs non possibles ou overflows) renverront `0`. ### Fonction attendue ```go -func IterativeFactorial(int nb) int { +func IterativeFactorial(nb int) int { } ``` diff --git a/subjects/iterativepower.en.md b/subjects/iterativepower.en.md index 25ce83b5..17b8f575 100644 --- a/subjects/iterativepower.en.md +++ b/subjects/iterativepower.en.md @@ -9,7 +9,7 @@ Negative powers will return `0`. Overflows do **not** have to be dealt with. ### Expected function ```go -func IterativePower(int nb, int power) int { +func IterativePower(nb int, power int) int { } ``` diff --git a/subjects/iterativepower.fr.md b/subjects/iterativepower.fr.md index f6d57e81..af3fc617 100644 --- a/subjects/iterativepower.fr.md +++ b/subjects/iterativepower.fr.md @@ -9,7 +9,7 @@ Les puissances négatives renverront `0`. Les overflows **ne doivent pas** être ### Fonction attendue ```go -func IterativePower(int nb, int power) int { +func IterativePower(nb int, power int) int { } ``` diff --git a/subjects/recursivefactorial.en.md b/subjects/recursivefactorial.en.md index 1a35bb01..e910de9f 100644 --- a/subjects/recursivefactorial.en.md +++ b/subjects/recursivefactorial.en.md @@ -11,7 +11,7 @@ Errors (non possible values or overflows) will return `0`. ### Expected function ```go -func RecursiveFactorial(int nb) int { +func RecursiveFactorial(nb int) int { } ``` diff --git a/subjects/recursivefactorial.fr.md b/subjects/recursivefactorial.fr.md index c8a081a4..1aba726c 100644 --- a/subjects/recursivefactorial.fr.md +++ b/subjects/recursivefactorial.fr.md @@ -11,7 +11,7 @@ Les erreurs (valeurs non possibles ou overflows) renverront `0`. ### Fonction attendue ```go -func RecursiveFactorial(int nb) int { +func RecursiveFactorial(nb int) int { } ``` diff --git a/subjects/recursivepower.en.md b/subjects/recursivepower.en.md index 27ff990f..3d702cd2 100644 --- a/subjects/recursivepower.en.md +++ b/subjects/recursivepower.en.md @@ -11,7 +11,7 @@ Negative powers will return `0`. Overflows do **not** have to be dealt with. ### Expected function ```go -func RecursivePower(int nb, int power) int { +func RecursivePower(nb int, power int) int { } ``` diff --git a/subjects/recursivepower.fr.md b/subjects/recursivepower.fr.md index 867b5bcd..f7182344 100644 --- a/subjects/recursivepower.fr.md +++ b/subjects/recursivepower.fr.md @@ -11,7 +11,7 @@ Les puissances négatives renverront `0`. Les overflows **ne doivent pas** être ### Fonction attendue ```go -func RecursivePower(int nb, int power) int { +func RecursivePower(nb int, power int) int { } ``` diff --git a/subjects/sqrt.en.md b/subjects/sqrt.en.md index 51ec3d34..cf21ffec 100644 --- a/subjects/sqrt.en.md +++ b/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 ```go -func Sqrt(int nb) int { +func Sqrt(nb int) int { } ``` diff --git a/subjects/sqrt.fr.md b/subjects/sqrt.fr.md index 2ec2efcc..39d66e81 100644 --- a/subjects/sqrt.fr.md +++ b/subjects/sqrt.fr.md @@ -7,7 +7,7 @@ ### Fonction attendue ```go -func Sqrt(int nb) int { +func Sqrt(nb int) int { } ```