cf/mirror

Divisible Array

CF
1828A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
7
1
2
3
4
5
6
7
Output
1
2 4
1 2 3
2 8 6 4
3 4 9 4 5
1 10 18 8 5 36
3 6 21 24 10 6 14
1828A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)