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.
using integers as booleans is bad practice in modern C and C++, so I updated those languages to use booleans as well, since it can be done with backwards-compatibility.
approved by Kacarott
It's fixed now.
The kata is currently broken in python, waiting on a fix.
This issue is fixed in this fork
Sorry, duplicate issue.
In python, the refsol is only correct for up to 32-bit numbers, but the random tests generate inputs of more than 32 bits, leading to erroneous tests.
This comment is hidden because it contains spoiler information about the solution
Enabled in this fork
The description is terrible, even seeing the answers, I can’t understand what needs to be done. (I'm not a native speaker)
This comment is hidden because it contains spoiler information about the solution
Approved
better datatypes, assertion messages and random tests for C (author gone)
nvm, you are probably talking about the tests having larger
int
s than were allowed in the description. Disregard my commentInstructions say "Assume that x is an unsigned, 32-bit integer".
But random tests (python, btw) are giving me 50+ bit integers for x, such as 7,138,606,154,252,560.
Loading more items...