cf/mirror

Squaring

CF
1995C1800· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
7
3
1 2 3
2
3 2
3
3 1 5
4
1 1 2 3
3
4 3 2
9
16 2 4 2 256 2 4 2 8
11
10010 10009 10008 10007 10006 10005 10004 10003 10002 10001 10000
Output
0
1
-1
0
3
15
55
1995C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)