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 be2643245..47e89f3d9 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 41807a057..be9191788 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 9d46fee59..6d844c848 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 fbb0db2ae..a7c8e0882 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 91c858687..0962260cd 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 38953f2b7..0903a2358 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 f22edcbd2..7557d75fd 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 a75a147dd..2f98314e3 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 25ce83b58..17b8f575f 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 f6d57e818..af3fc617c 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 1a35bb011..e910de9f0 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 c8a081a4a..1aba726cb 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 27ff990f6..3d702cd20 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 867b5bcd5..f71823441 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 51ec3d34d..cf21ffec4 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 2ec2efcc7..39d66e81f 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 { } ```