It looks like you were working hard :-) First thing first - the author of the kata is from Poland and this is why i have included the comment in the same language. The content is rather thrivial - simple -> 'As usually you have given interesting task to solve'. Regards your research - '£' does not exist in polish alphabet, but you can treat it as polish 'Ł' as both looks similar.
Removed System.Linq - btw, this is arbitrary decission but don't want to waste time for argue. The range for random test is correct - not gonna change it.
Explaining why 'K' is invalid and '4jzaaa' is valid??
For a 7-kyu kata, simple 'If it cannot be done, return -1.' is too ambigous to be treated as valid description. 81% of rating score confirms that.
It looks like you were working hard :-) First thing first - the author of the kata is from Poland and this is why i have included the comment in the same language. The content is rather thrivial - simple -> 'As usually you have given interesting task to solve'. Regards your research - '£' does not exist in polish alphabet, but you can treat it as polish 'Ł' as both looks similar.
Random tests are fine - were made upon specific measurement. Not going to change it according to your suggestion.
Removed System.Linq - btw, this is arbitrary decission but don't want to waste time for argue. The range for random test is correct - not gonna change it.
c# translation
sure it can - firstly multiply by mile equivalent and then divide
it is required as
int / int = int
. yes, you cancast
to double in a different way but this is the way i like mostC# translation
c# translation
c# translation
fixed
c# translation
fixed
c# translation
Loading more items...