cf/mirror

AND, OR and square sum

CF
1368D1700· expert2s512 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
1
123
Output
15129
Sample 2of 3
Input
3
1 3 5
Output
51
Sample 3of 3
Input
2
349525 699050
Output
1099509530625
1368D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)