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.
very late, but I did the same. 19 for " does not play banjo" and 1 for null termination
I just had the same issue, I utilized the global counter you suggested and
made it print out my hands after it got above 100 counts. The test at 120 is the following:
A,2,3,4,5 vs 9,10,j,q,k.. both are straights.
Most likely you are doing the same mistake as I was and comparing the highest of each straight.
But, here the ace is actually 1 not 14. That means K(13) > 5.
I know this is late, but I hope this is helpful to you.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I might be a bit late here, but here it is:
since the function is given as:
Data* sqInRect(int lng, int wdth) {};
you must return a pointer to the struct. You have two options.
initialize with a pointer:
Data *output;
...
return data;
or return the pointer to your struct.
Data output;
return &data;