SP11875 POSAO - Jobs
Description
Little Domagoj has hands full of work. His jobs are organized in **N**x**N** matrix such that each cell represents one job. He can start doing job at cell (x,y) if and only if jobs at cells (x,y-1) and (x-1,y) are done(if they exist).
**** _On the picture required jobs are shown for gray cells._
Domagoj has **K** computers which he will use for doing jobs. One computer is able to do at most one job in one second. Also, all computers need not to be used all the time. Help Domagoj and organize order in which computers will do jobs in least possible time.
Input Format
In the first line there are two integers **N** and **K** (1 N, **K**
Output Format
Print least possible time in which all jobs can be done.