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 like this sollution
This comment is hidden because it contains spoiler information about the solution
i like it solution :)
you're right i did not htink about it
seriously it is works ;)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
my program counts well
System.out.print(LuckyNumber.isLucky(93)); false
System.out.print(LuckyNumber.isLucky(0)); true
this cata is badly made
testRandomNumbers
Log
93
0
expected:false but was:true
here is mistake, 0 should be true
i can't find solution :) ok thnaks for answer
This comment is hidden because it contains spoiler information about the solution
when i pressed attemp, my program din't passed
Log
-1
eliminate_unset_bits(10100011000111000111101000011111111110000011111010101011): Expected 4294967295, found -1.
but when i created my test:
cr_assert_eq(eliminate_set_bits("01110011011101101100010110100011100111110001111110111010000"), 17179869183);
everything was ok :) something is bad with main test.
This comment is hidden because it contains spoiler information about the solution
have problem because long type can't store value 17179869183
correct result = 17179869183
unsigned long i = 17179869183;
long j = 17179869183;
in which type.. can i store the result=17179869183?
Loading more items...