cf/mirror

Squares

CF
123B1800· expert0.5s256 MB⌨ stdin/stdout
#math

Examples

Sample 1of 3
Input
2 2 1 0 0 1
Output
1
Sample 2of 3
Input
2 2 10 11 0 1
Output
5
Sample 3of 3
Input
2 4 3 -1 3 7
Output
2
123B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)