Squares and not squares
898E1600· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
412 14 30 4
Output
2
Sample 2of 4
Input
60 0 0 0 0 0
Output
6
Sample 3of 4
Input
6120 110 23 34 25 45
Output
3
Sample 4of 4
Input
10121 56 78 81 45 100 1 0 54 78
Output
0
58%
898E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)