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.
Haskell cannot submit due to the
Tab
character, could you please remove them in test file.This kata is not difficult, but it cost me a year to finish it...
I dropped it after several trials at this moment last year, since I couldn't figure out the wrong point.
Glad to solve it today, like a small gift. Nice kata! :D
Add a
typedef
to your code may solve this.One of my friends add 40+ honours, then another 142, then 380...
I think this kata could be harder. All the test cases could be passed without any shortest path alogrithm, since the shortest path is just the given sequence, but the kata description didn't say the granny cannot visit a town twice. Maybe change the right angle into a given sequence is better?
The test cases for Haskell are broken, please fix it, thanks!
And I think the introduction should include more details about 19:00.
Thanks for your excellent explanation!
In Chinese, it was named '龟兔赛跑' ~ :-)
I think the description is still a little confused. Maybe
if only 0 after the decimal point
could be better?This comment is hidden because it contains spoiler information about the solution
The instrucations didn't say it should be floor but not round.
My code didn't test the case n <= 0 but it still passed.
Okey... I have just seen the discuss before...
I don't know whether
y
belongs to vowels... If it does, just ignore my offence...I guess the test cases may be weak?
My haskell code has passed, but it will give
True
for invalid forms like"{(})"
.However this kind of forms was methoned in the instructions.
So what is the correct output of
"\na"
?Using "isSpace" to check but got the same submitting result...