Reverse Sort Sum
1659D1900· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
542 4 2 470 3 4 2 3 2 730 0 040 0 0 431 2 3
Output
1 1 0 10 1 1 0 0 0 10 0 00 0 0 11 0 1
58%
1659D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)