cf/mirror

Sorting By Multiplication

CF
1861D1800· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
3
5
1 1 2 2 2
6
5 4 3 2 5 1
3
1 2 3
Output
3
2
0
1861D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)