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.
Trying this in Ocaml and quickly gave up as it seems I needed to do lots of float<->int conversions.
This syntax is described in https://ocaml.org/manual/5.2/patterns.html#sss:pat-variable
This comment is hidden because it contains spoiler information about the solution
this is node.js magic :)
lol waht
You're right, I was checking with C++ 14 (whoops)
Fixed.
I think it indeed is a problem, because compilation reports error even for empty solution. It would mean that one of preloaded or tests is composed incorrectly. I did not have the time to check the actual C++ version tho.
Isn't that the expected behaviour? Why are you expecting to have includes for C functions initially?
There is a similar comment below. The question description is indeed outdated.
Using C++ 17 for this question, attempting would result in an error of 'strcat' is undeclared.
https://prnt.sc/q4srxu
I worked around it with "#include <cstring>" manually...
The purpose of the kata is to show how to use those functions.
yep perfect
Nice kata. I have a translation in Scala that is currently 147 characters long - remarkably short for a strongly typed language. If you allow a Scala translation, I will put it in.
Let me have a look :)
This comment is hidden because it contains spoiler information about the solution
Loading more items...