var m,n:word;begin repeat read(m,n);writeln((m*m div n+n+1)div 2)until 0>0end.
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page