Page 3 of 3
10773 wa help plz
Posted: Mon Jul 23, 2012 1:04 pm
by Honour_00
removed
Re: 10773 wa help plz
Posted: Tue Jul 24, 2012 1:08 am
by brianfry713
Input:
Code: Select all
3
8 5 6
1 2 3
1 5 6
3
8 5 6
1 2 3
1 5 6
AC output:
Code: Select all
Case 1: 1.079
Case 2: 0.114
Case 3: 0.135
Re: please help me why i am getting WA for my code ?
Posted: Wed Aug 08, 2012 2:16 pm
by amjadkhan0988
brianfry713 wrote:What's the problem number?
i think every thing is right no problem is there.

Re: please help me why i am getting WA for my code ?
Posted: Mon Sep 24, 2012 6:59 am
by mikhelee12

i ve checked so many critical input output . i am still getting WA ,,, plz anybody help me,,,, plz,,,, i am trying this for a long time ..... here's my code:
Re: please help me why i am getting WA for my code ?
Posted: Tue Sep 25, 2012 12:57 am
by brianfry713
mikhelee12 wrote:
i ve checked so many critical input output . i am still getting WA ,,, plz anybody help me,,,, plz,,,, i am trying this for a long time ..... here's my code:
There's no code here.
Re: please help me why i am getting WA for my code ?
Posted: Wed Nov 14, 2012 6:02 am
by bimajw
delete
Re: please help me why i am getting WA for my code ?
Posted: Thu Nov 15, 2012 1:46 am
by brianfry713
The output shouldn't start with a blank line.
Re: please help me why i am getting WA for my code ?
Posted: Wed Apr 24, 2013 3:21 pm
by Repon kumar Roy
#include <stdio.h>
#include <math.h>
int main(int argc, const char * argv[])
{
long long int test,d,v,u,i;
scanf("%lld",&test);
for (i=1; i<=test; i++) {
scanf("%lld %lld %lld",&d,&v,&u);
if (u<=v||u==0) {
printf("Case %lld: can't determine\n",i);
continue;
}
printf("Case %lld: %.3lf\n",i,(1.*d/sqrt(u*u-v*v)-d*1./u));
}
return 0;
}
here is my code. It seems everything all right to me.. But wrong answer.. So please help me to find the bug///
Re: please help me why i am getting WA for my code ?
Posted: Thu Apr 25, 2013 12:26 am
by brianfry713
what if v is 0?
Re: 10773 - Back to Intermediate Math
Posted: Tue Oct 21, 2014 1:58 pm
by zlenyk
If someone could please take a look at this code. It's sick, I've read all your previous hints and still getting WA on it.
Re: 10773 - Back to Intermediate Math
Posted: Tue Oct 21, 2014 2:19 pm
by lighted
Use code tags. My advice to you -> always copy/paste output format from sample or problem description.
Sample Output
Your Output
Don't forget to remove your code after getting accepted.

Re: 10773 - Back to Intermediate Math
Posted: Tue Oct 21, 2014 2:42 pm
by zlenyk
There is just no way I made such mistake! Thank you very much.