Vika and Squares
610B1300· pupil2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
52 4 2 3 3
Output
12
Sample 2of 3
Input
35 5 5
Output
15
Sample 3of 3
Input
610 10 10 1 10 10
Output
11
58%
610B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
52 4 2 3 3
12
35 5 5
15
610 10 10 1 10 10
11