cf/mirror

Removing Smallest Multiples

CF
1734C1200· pupil2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
6
6
111111
7
1101001
4
0000
4
0010
8
10010101
15
110011100101100
Output
0
11
4
4
17
60
1734C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)