Game with Cards
1539E2500· grandmaster2.5s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
2 1030 30 220 40 2
Output
Yes0 1
Sample 2of 3
Input
2 1030 30 223 40 1
Output
No
Sample 3of 3
Input
5 1030 30 374 71 322 33 781 81 861 67 10
Output
Yes1 0 0 1 0
58%
1539E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)