cf/mirror

Kanade's Perfect Multiples

CF
2173C1400· specialist2s256 MB⌨ stdin/stdout

Examples

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