ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1084. Goat in the Garden

!!! FOR ALL OF YOU WHO USE C++ AND GET CE !!!
Posted by Manastireanu 10 Apr 2005 17:16
if you use #include<math.h> you get CE if you use sqrt(2);//or any other integer

in C++ use sqrt(2.0); //sqrt(2); ==> COMPILATION ERROR
in C it is ok to use sqrt(2);

I hope I helped you..
Good luck and Have fun ! :D
Re: !!! FOR ALL OF YOU WHO USE C++ AND GET CE !!!
Posted by Igor Pron 28 Oct 2005 18:32
Yeah! You help, it's right!!! I'm tired from CE... but
sqrt(2.0) - accepted!!!
    gl hf bb