How Many Squares?
11C2200· master2s64 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
28 8000100010010100001000100100000100100010000101000110100111100001110 101111111000100000100010110010001011001010100000110110010010101010101000100100100010000010001111111000
Output
12
Sample 2of 2
Input
112 11111111111111000000000110111111101101000001011010110010110101100101101000001011010000010110111111101100000000011111111111100000000000
Output
3
58%
11C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)