cf/mirror

Divide, XOR, and Conquer

CF
1863F2600· international gm2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
6
6
3 2 1 3 7 4
5
1 1 1 1 1
10
1 2 4 8 4 1 2 3 4 5
5
0 0 0 0 0
5
1 2 3 0 1
1
100500
Output
111111
10101
0001000000
11111
11001
1
1863F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)