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.
I sincerely apologize; I will fix it right away.
why the puzzle in C++ language use
<cstdio>
header ? :(This comment is hidden because it contains spoiler information about the solution
why the variable name too long lmao
This comment is hidden because it contains spoiler information about the solution
Can someone summarize the content in 100 words?
I wrote the code for large integers, but when creating this kata, I realized that it had execution time limit, and it can't handle larger test cases like "71717", which returns "1038660". That's why the return type is string instead of interger.
Wait, how? I tried the code yet, but it returned "65536" for 34567, and the test case said it was true bruh :(
The code is fixed. Thanks for your response!
yo first 2 kyu kata completed !
maybe I'm not ready for 2kyu kata; haft a day trying to fix my code but it still not work. Good luck to those who want to try this. :/
why the test
do_test("", "ac", "ab", false)
return false :) isn't the part1 contain "" in its?But my kata uses C++ language, which is beginner-friendly :(
Moreover, my kata only counts the number of prime pairs and does not return an array. Does that count?
ahh I solved it, the kata don't count the global variables so I put it to the function and it works correctly. waste 2 hours to discover that :(
I attempted my code on a compiler with case 'D',3 and it return 37 but when I attempt in the kata it return 30 instead. what's the problem??
Loading more items...