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.
bruh((
cheater
omg
Done :)
Please add
#include <string>
to the initial solution.Thanks :)
Fixed. Thank you :)
Good kata.
This kata is fun to solve, but I'm not really sure should it be in 3 kyu. It's much easier I guess.
Neither of those is the input, the first value is what your function returned, to see the input value, print it to the console yourself. Not a kata issue.
I can't complete the Kata because one of the tests are invalid for TypeScript.
The input is larger than the test's output. The next biggest should be
1234569780
Damn, sorry for that.
Fixed
Duplicate issue (see the one below), closing.
In file included from main.cpp:7:
./tests.cpp:7:22: error: use of undeclared identifier 'next_bigger_number'
Assert::That(next_bigger_number(12), Equals(21));
^
./tests.cpp:8:22: error: use of undeclared identifier 'next_bigger_number'
Assert::That(next_bigger_number(513), Equals(531));
^
./tests.cpp:9:22: error: use of undeclared identifier 'next_bigger_number'
Assert::That(next_bigger_number(2017), Equals(2071));
^
./tests.cpp:10:22: error: use of undeclared identifier 'next_bigger_number'
Assert::That(next_bigger_number(414), Equals(441));
^
./tests.cpp:11:22: error: use of undeclared identifier 'next_bigger_number'
Assert::That(next_bigger_number(144), Equals(414));
^
./tests.cpp:12:22: error: use of undeclared identifier 'next_bigger_number'
Assert::That(next_bigger_number(10990), Equals(19009));
^
6 errors generated.
Loading more items...