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.
Re-raised as issue.
This comment is hidden because it contains spoiler information about the solution
There are a lot of Kata that you can brute force in this way with a little google-fu even if you don't know the exact number. In fact you can google-fu a lot of katas if you really want.
Fixed
Updated the description to addess the
2 , 5
issue. However, on the issue of limits, the rating (6 Kyu) gives guidance on the limits and guarantees that it's not a performance Kata, so I dont think it's necessary to include it.I hope the discussion here helped? There is plenty of discussion, particularly in reference to the 2,5 issue.
I have been using an RPN calculator for many years and the current behavior is exactly what I would expect. I don't think ("1 2 3") should be invalid. It's pointless, but not invalid.
Hi geresdi,
sorry for
hundreds
:( Copy-paste is dangerous :). Now it should be ok.Thanks for your comments. I fixed all of them.
Regards,
suic
P. S. Could you please assess the rank of the kata? Thanks
Hi,
First of all, thanks for reporting this bug. It should be fixed now. Please verify.
I'm also a native speaker and it took me quite long too write down the rules :)
I've created two more Hungarian based katas (1, 2). You might like them :)
Regards,
suic
P. S.: Meg egyeszer koszonom. Ha megkerlek atolvasnad a leirast? Amig nem kezdtem dologzni ezen a katan azt gondoltam hogy a magyar szamnevek egyszerubbek (mint mas nyelvekben).
I've just added more test case, mainly feeding it with the regular polygons up to 100 sides (but with a random side)
Maybe I am miss-understanding the exercise as well, if the given results below have to be divisible by all prime numbers within n, then it is not correct! 200 is only divisible by 2 and 5 not 3.
=====================================================================================
and the found numbers below 200 are 30 < 60 < 90 < 120 < 150 < 180 < 200 (6 numbers)
Actually I took this problem from programming competition, I participated in school more than 10 years ago =)
Thanks for your post!
Too late to change that, it will invalidate more than 430 solutions. The description is clear: "going(n) will return "result" truncated to 6 decimal places"; truncating is not rounding and I don't find
math.floor(result*1e6)/1e6
ugly:-)