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.
Use collections.Counter, man!
So what? Python 2 is cool)))
Great!
Superb!!!
On Python way, you could write anything in solution, but receive only an global error instad of test flow when "Attempt":
STDERR:
File "main.py", line 173
print('\n'.join(f'{k}: {v}' for k,v in C.items() if k not in ('wLen','sLen')))
SyntaxError: invalid syntax
By the way, sample tests work normally.
My solution pass all "sample tests", but on "Attempt" I've got a message:
STDERR:
File "main.py", line 173
print('\n'.join(f'{k}: {v}' for k,v in C.items() if k not in ('wLen','sLen')))
SyntaxError: invalid syntax
WTF???
This comment is hidden because it contains spoiler information about the solution
In C++ you propose as a starting template:
but there is no
in program. So it would be desirable either add this or change all "vector" to "std::vector" in template.
Exellent!
Thanks!
Hello!
I never play poker, only read rules in wiki, and I have a questions about next testcases:
In first variant we see One Pair (Ace cards) in player's hand, and the same combination in opponent's hand.
Why player loose?
The same situation in second test case, we see nothing special combination but one Highest Card (Ace) in player's hand and the same in opponent's hand.
Why player wins?
I thank that it must be tie this case. Where I was mistaken?
Thanx.
C++ language, if it is important.
ahhahaaaa!
how many tries?
This comment is hidden because it contains spoiler information about the solution