SP7152 IOIBOUND - Boundary 2003
Description
Farmer Don watches the fence that surrounds his N meter by N meter square, flat field (2
Input Format
The first line of input contains two space-separated integers: N and R.
Output Format
The output file should contain a single line with a single integer, the number of fence posts visible to Farmer Don.