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.
Lua translation !
Lua translation !
Hey, can someone review this Lua translation please ?
Thanks
Rust translate
Lua translation !
Makes sense, fixed
First, I thought it was an array, and I thought I needed to make another array and pass the result of the two equations through a for loop in the new array, but I found it always returned 1.
Then I searched and found that std::pair is a class template in C++ that provides a way to store two heterogeneous objects as a single unit. I had to watch a 21-minute mathematical video to learn about the equation: reflection with respect to the origin point.
For me, it is 10/10 for all the knowledge you have to have to solve it.
Calls to user function must be done inside of
it
, otherwise the testing framework won't be able to handle eventual errors inside of the solution function, or titles can be wrong after the solution function mutates inputs, etc.Lua translation !
You're right, done !
In the submission tests, fixed tests section should also give the explicit output, just like random tets do. I would suggest to chage
test_it
totest_it(p, q, expected)
and then use it in fixed tests, and in random tests.Lua translation !
Lua translation ready for review !
Okay, I'll keep that in mind. Thanks a lot for your help
Approved by someone
Loading more items...