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

help me
Posted by Orlioslav 10 Apr 2001 02:03
I've solved the problem but it returns me "Wrong Answer"
I've checked my answers on my PC and everything was correct!
So please tell me how exactly to write the input and output.
Re: (+)
Posted by Ilya Semenov (NSU) 10 Apr 2001 21:31
> So please tell me how exactly to write the input and
output.

Look, here's my C++ code:

// @JUDGE_ID: 10231XX C C++
#include <stdio.h>
#include <math.h>

double R, H;

double calculate() { /*.........*/ }

int main()
{
    scanf("%lf%lf",&H,&R);
    printf("%.3lf\n", calculate());
    return 0;
}