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.
You're right. I've changed the maximum number of random tests to 416. Thanks for the heads up.
In random tests you may ask for ExpSum(417), but ExpSum(417) = 18987964267331664557 > 18446744073709551615=2^64-1
You can't give right answer in Go for this test
merged description and approved
😁
dp? should be sp!
Yes they were. You keep changing other unrelated codeblocks and in the process introduce duplication and conflicts. I forked and fixed it myself. Approved.
I did what you said. Are the merge errors still present now?
No, that's not how to fix it. Someone else has published a translation that contains modifications to the description that your translation does not have. You need to fork the most recent translation, copy the description over into your translation, and then update with any modifications you want to add.
I've modified the URL of Wikipedia site. Does the merge error exist?
Approvable once you fix the merge error (the description has since been updated by another translation, you will need to pull it in)
Thanks for your suggestions.
I modified the assertion messages and made the
assert_helper
function accept two parameters (n
andexpected
).Ok. Finale notes:
\n
for better formatting.assert_helper
function, you haveactual, ret, n
. Calling that then requiresexp_sum(n), ret, n
. Without careful diligence, it is easy to make one or the othern
mismatch.To work around this, have your
assert_helper
function simply acceptn
and the expected value (which you callret
, but is usually calledexpected
so other users can easily understand it). The assert helper function then calls the user solution itself to compute theactual
value. This has the additional advantage of making fixed tests more readable.Answers:
Notes:
todo!()
to the solution setup so that it compiles as is (remove the redundant comment)left
andright
refer to.approved
I have removed the comment.
Loading more items...