Four Suits
1861F3200· legendary gm6s1024 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
23 1 1 11 1 1 12 2 0 0
Output
1 0
Sample 2of 3
Input
40 0 0 00 0 0 12 2 0 00 1 0 03 2 3 2
Output
1 1 1 1
Sample 3of 3
Input
72 1 0 10 0 2 14 4 1 20 0 1 01 1 0 10 2 1 10 2 0 015 10 10 14
Output
5 6 1 7 5 5 7
58%
1861F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…