Infinite Card Game
1895E2300· international master3s512 MB⌨ stdin/stdout
#binary search#brute force#data structures#dfs and similar#dp#dsu#games#graphs#greedy#sortings#two pointers
Examples
Sample 1of 1multi-test • hover to link
Input
338 7 47 1 1028 45 1098 8 5 5 5 4 4 1 42 7 5 2 8 9 7 1 9109 8 7 6 5 5 4 3 2 17 1 6 7 5 8 8 4 9 611051105
Output
1 1 12 4 30 1 0
58%
1895E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…