x — Radius of truncated circle on height h. I can't understand what is false in my solution :(
x — Radius of truncated circle on height h. I can't understand what is false in my solution :(
Problem #1036 I've already got some help, Thanks :)
I think this topic is quite important because it's a popular problem.
I think the best C++ IDE on Linux is QtCreator. It looks cute and only in this IDE I can debug STL containers and algos without going to their .h files :D
But sometimes it happens(but not sometimes, often), that you can't cin of scanf in this IDE(or debugger shows you an error ><). You can solve these problems by making these easy steps :)
1. If cin of scanf doesn't work
Tools -> options -> Environment -> System-> Terminal(change to xterm -e)
External Terminal : change to xterm -e -geom %Wx%H+%x+%y -e vi %f +%l +"normal %c|"
http://acm.timus.ru/problem.aspx?space=1&num=1353