New method signature is accepted now static int sum(int[] array)
static int sum(int[] array)
The rating is now 83%, cheers :)
Someone added example tests.
For the Java translation, I'd suggest to rename the method to sum(int[] array) to follow conventions.
sum(int[] array)
Java: needs random tests.
Feel like re-submitting your translation? Again, I updated the description before... Although I'm not sure it will ever come out of beta with such rating :-(
Cheers
Example tests were added to python, but not in java. Java doesn't have random tests either.
Needs some example tests.
JS translation kumited. If you wish to approve it.
; ) )
Duplicate: https://www.codewars.com/kata/find-the-gcf-of-two-numbers
It is important [...] that kata be written in correct English.
https://www.codewars.com/topics/kata-best-practices
Ну ты решил не тем методом, которым требовалось. Просто скопировал из телеграма решение. Нужно решить методом остатков от деления
Loading collection data...
New method signature is accepted now
static int sum(int[] array)
The rating is now 83%, cheers :)
Someone added example tests.
For the Java translation, I'd suggest to rename the method to
sum(int[] array)
to follow conventions.Java: needs random tests.
Feel like re-submitting your translation? Again, I updated the description before... Although I'm not sure it will ever come out of beta with such rating :-(
Cheers
Example tests were added to python, but not in java. Java doesn't have random tests either.
Needs some example tests.
JS translation kumited. If you wish to approve it.
; ) )
Duplicate: https://www.codewars.com/kata/find-the-gcf-of-two-numbers
https://www.codewars.com/topics/kata-best-practices
Ну ты решил не тем методом, которым требовалось. Просто скопировал из телеграма решение. Нужно решить методом остатков от деления