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.
thanks, I used it for checking basic loop structures, but yes, I cannot ensure that recursion has been used.
yep! thanks! fixed!
second kata is not exactly the same problem, it is a different version. I haven't found any kata like this in C/C++.
Fixed, thanks!
For this kata users do not require to know how to use std::vector or iterators.
yep, thanks! it makes sense..., I will implement that check, however, solver may come up with a trick to "bypass" almost any kind of regular expression looking for iterative structures. But it's worth to at least check the basic ones and look for iterative structures that have not been obfuscated.
ok, thanks, I will add new tests where the contained matrix does not start from the first row of the A matrix.
answer above.
Thanks for your feedback, I will add some random test, although in this kata I am not sure if it really makes sense...., in any case, it always helps having some random input data. I will update the description to remove the "return" word so users don't get confused about it. Related to the use of the std::vector structure, this kata is focused on first years students of a programming course I teach in a Computer Science degree, and the use of std::vector is not allowed, we want them to first learn how to use plain arrays.
Fixed! thanks for the feedback!
because I want students to solve katas that are as simple as printing a pyramid of * on the screen, I tried redirecting the std::cout stream to a stringbuffer but I get a compiler error in the platform (https://stackoverflow.com/questions/5419356/redirect-stdout-stderr-to-a-string). any idea? otherwise I will have to force them to return a string or an array of characters since first year students still don't know how to use std::string, we prefer them to start using character arrays. thanks!
is there any way to create a test in a C++ Kata that compares program output std::cout?? I´ve been trying it but I have not succeeded yet... thanks, using GTest is easy, but I don´t a get a way to do it using igloo
thanks for the suggestions, I just started creating katas. I updated it with random tests :)