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.
sure, but as a beginner, I'll focus on the more readable ones first :D
the input is an
unsigned
(32-bit) so it logically cannot be negative; the output is anunsigned long long
(64-bit). the tests do show you the input, expected and actual values. your code does not take care of avoiding integer overflow.No, that's not it, use this:
puts "<" + pin + ">"
to print the input.