cf/mirror

Divisibility by 2^n

CF
1744D1200· pupil2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
6
1
2
2
3 2
3
10 6 11
4
13 17 1 1
5
1 1 12 1 1
6
20 7 14 18 3 5
Output
0
1
1
-1
2
1
1744D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)