Playing with cards, question is poorly explained

please explain the question in a proper way

Refer this Playing with cards

https://ide.codingblocks.com/s/235563 please check my code, none of the test case passing

hello?
it’s been more than a day, anyone would help?

Check now if it works.

It is working, what was my mistake?

You were just missing endl in line 74 and 80