Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
It does.
When both letters are in upper case, both calls to char.IsLower() will return false.
false == false resolves to true, so the function returns 1.
Fixed.
Done.
Did you figure this one out? I'm stuck on the random tests too, wondering what corner cases I've missed.
[edit]
Figured it out, I was looking for a maximum instead of a minimum!
It's not that..I simply don't agree with you. Thanks though.
This is a first for me, someone saying that tests
are not properly implemented
in 1/75 of my katas. I will wait for more issues like this before I touch it.So it was in fact a suggestion..
How? Its not standard practice. Or is it?
Then how do you think you got this value inside an Int if it didn't fit?
https://www.codewars.com/kumite/5aabc88e6f70e19d610000bd
Issue or suggestion?
Fixed.
This kata can be solved without using numbers greater than
timeLimit
, there's no need inInteger
s.60
is the correct result for8337374094012673832
.Hm, I could change the infinite list to
[1..k+100] : error "You went pretty far in a infinite list. Are you sure you thought that through?"
.However, you get a very similar error if you use
length
in your own programs without proper reasoning, so I think I leave it like that.I also got that error at first, but now I know why. Maybe adding something about not using length in the description? Or is that clear enough with the "should work with infinite lists"? I know I missed/misunderstood that, but if it's only me then the problem is with me and not the description.
Added the fact that some of the lists might be infinite to the description. The "Unknown error" is due to
length
, unfortunately I don't know how to fix that.