АВТ
Language: Russian
English

Remote Training on Programming

Problems Online status Contests
News FAQ E-learning
For authors:
Register  ||  Login
 
Hello, Guest! Please login or register.

1587. Square

Time Limit: 1 seconds
Memory Limit:262144KB
Points:100
View Problem Statistics Submit Problem added debug

Maintenance department of H&H company bought a new table. Table has a square form. For a strange reason network patchcords at the H&H company stick out from the floor at the points with integer coordinates (what is even more strange each point with an integer coordinates has a patchcord).

Maintenance department manager asked you to help to find out the minimum possible number of patchcords covered by the table. Patchcords is covered by the table if it lays strictly inside the square perimeter of bottom surface of the table.

Входные данные

Input contains only one integer S (1 ≤ S ≤ 100) — the area of the bottom table surface.

Выходные данные

Write to the output only one integer — the minimum possible number of points with integer coordinates covered by the table.

Пример

Входные данные
5
Выходные данные
3


View Problem Statistics Submit Problem discussion Author/source:
Problems from Contests and Camps / Trainings in Perm 2009 / 07.07.09 Big Contest /
1586. E - Ant and Apples 1587. 1588. G - Pair 1589. H - The Fence 1590. I - Painting the Natural Numbers
time generating 0.313 sec.
© Copyright VSU, AVT, Nosov D.A., Andrianov I.A.