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.
When I click Test, I get failed test for symbols. I spent some time to figure this out and never did. But then I clicked submit and all tests passed 😂
Thanks for this kata — short but clever use of mathematical string manipulation. It was a fun way to mix array operations with numeric logic, and it offered a neat perspective on working with π digit transformations without getting lost in heavy math.
Lovely! :)
I swear the sample tests were scuffed when I solved earlier.
Anyway, assertion messages are lacking if you want an actual issue I spotted.
what is missing ?
Python new test framework required.
Python random tests go up to 101 rather than 100?
fixed (had to remove
#[allow(unused)]from the reference solution to see the warnings). also removed the uselessmutmodifier on the function's parameter.using namespace std;from the initial code#include <string>to the test suiteduplicate of this issue
Nothing is said about symbols in the task, what's the point of writing them at all?
Merged the fix.
https://www.codewars.com/kumite/67b9096646cced2761383ec3?sel=67b9096646cced2761383ec3 Corrected here!
Enabled in this fork
The rules are not clearly described. If the beginning letters of two books are the same, the second letters of the two books should be compared, and so on. But it is not mentioned at all in the rules. Please remember that this is 8kyu. The rules are unclear and will cause trouble to novice programmers.
Loading more items...