Power or XOR?
1673E2500· grandmaster2s512 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
3 23 1 2
Output
1110
Sample 2of 4
Input
3 13 1 2
Output
1010010
Sample 3of 4
Input
3 03 1 2
Output
1000000000000000001010010
Sample 4of 4
Input
2 11 1
Output
0
58%
1673E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)