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.
But there's no
char
type in Python so the author had no choice either way;char
would've been a better choice for C# but it's not a big dealBut then why do you keep the
typedef
topair
? While there are some use cases to alias astruct X
asY
, one would usually expect the struct/union/enum tag and the alias to have the same name, if they are both named; i.e.typedef struct X X;
. Alternatively you can omit naming thestruct
(typedef struct {...} X;
) or omit the aliasing itself (struct X {...};
).done
how about e.g.
Fraction
instead ofNumerator_Denominator_Integer_Pair
?"The lazy man works the hardest."
XXI
is 21XIX
is 19EDIT: I see, it returns
21
for bothI think
std::string& str
will be better.C Translation
C Translation (author inactive).
ذكي
And just keep in mind you are fully responsible for the memory management of
*results
to ge the right results.Simple and great one!
Approved by someone.
the code has been updated recently
This comment is hidden because it contains spoiler information about the solution
Loading more items...