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.
if he used const that makes him can't erase
I know, but it's one of the most efficient methods
python new test frameworks
This code is more like english
It's bad practice to remove them. It's relying on the tests to include them instead, which leaves these solutions prone to being automatically invalidated in the future if the tests change and their solutions don't compile anymore. The line or two saved by omitting them isn't worth that risk, so you're doing good by keeping them in
why theres no #include
i tried it without the lib but dosnt work for me
Very readable and logical. Oh, this language design...
where did 'const' go?
Oh, yes... I see...
but the return value will be retuned as an integer. it won't convert to a char. that's not what you want the function to do
Yeah
Since the return value of the function is
char
, you can simply replacechar(i)
withi
.I was using /n instead of \n and got confused for a good 5 minutes, fml
I had a feeling that I said something like this in my head, but was unaware that it would work as kata.
Good job.
xD
Loading more items...