Cards Sorting
830B1600· expert1s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
46 3 1 2
Output
7
Sample 2of 3
Input
11000
Output
1
Sample 3of 3
Input
73 3 3 3 3 3 3
Output
7
58%
830B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
46 3 1 2
7
11000
1
73 3 3 3 3 3 3
7