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.
It's great that you decided to share the Windows 98 activation keys, but you're a little late with the publication.
Testing this code, I found many cases where it gives the wrong result. Some examples:
Player hand - Opponent hand
JC TH 2D 2C 3D - 9D 4C 8S 8C 6C
Reported Win should be Loss: player's pair of 2 are beaten by opponent's pair of 8.
3C JH 5D JC 7D - AS 3D 4C 9D 3H
Reported Loss should be Win: player's pair of J beats opponent's pair of 3.
TH 9D QC 6C QD - 9H 2D QS 2H KH
Reported Loss should be Win: player's pair of Q beats opponent's pair of 2.
All the cases I've checked are similar in that both player's have a single pair.
This comment is hidden because it contains spoiler information about the solution
hmmmmm...
Same, it's tragic that the testing framework's
Itmacro makes including<range/v3/all.hpp>impossible. Any brevity you are able to achieve is offset by the gazillion lines of import above it :(😄 Perfect C++20/23 !!
But you know what : I'm tired with 30mns trying to figure out which include I have to use in rangev3 for each algo/view/.. and line of code !!
😃
actually this is incorrect and will fail in some random tests, but it passed...
would you please give some explaination? XD
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
yes, just realized the sign bit and '\0', thanks for your reply
your buffer is not large enough, and as a result you are writing out-of-bounds and corrupting the tests suite.
note that
printf("%d", INT_MIN) == 11i got
you must return the given stringerror msg in random test,need i consider the realloc?
Loading more items...