cf/mirror

Sum of XOR Functions

CF
1879D1700· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
3
1 3 2
Output
12
Sample 2of 3
Input
4
39 68 31 80
Output
1337
Sample 3of 3
Input
7
313539461 779847196 221612534 488613315 633203958 394620685 761188160
Output
257421502
1879D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)