cf/mirror

Find The Array

CF
1463B1400· specialist2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4
5
1 2 3 4 5
2
4 6
2
1 1000000000
6
3 4 8 1 2 3
Output
3 3 3 3 3
3 6
1 1000000000
4 4 8 1 3 3
1463B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)