cf/mirror

Cards Sorting

CF
830B1600· expert1s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
4
6 3 1 2
Output
7
Sample 2of 3
Input
1
1000
Output
1
Sample 3of 3
Input
7
3 3 3 3 3 3 3
Output
7
830B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)