Search found 5 matches

by DanielMarques
Fri Apr 18, 2008 5:31 pm
Forum: Volume 5 (500-599)
Topic: 571 - Jugs
Replies: 24
Views: 12553

Re: 571 - Jugs

Thanks, got AC! :D
by DanielMarques
Fri Apr 18, 2008 12:27 am
Forum: Volume 5 (500-599)
Topic: 571 - Jugs
Replies: 24
Views: 12553

Re: [571] Jugs --Help

I'm getting Runtime Error with the following code:
My idea seems to be ok, i'm doing the bfs from (0, 0) to (0, N).

Code: Select all

Accepted!
by DanielMarques
Wed Feb 13, 2008 10:25 pm
Forum: Volume 103 (10300-10399)
Topic: 10340 - All in All
Replies: 129
Views: 31219

It worked! :D
Thanks sapnil
by DanielMarques
Wed Jan 30, 2008 6:26 pm
Forum: Volume 103 (10300-10399)
Topic: 10370 - Above Average
Replies: 62
Views: 18504

No need for the while loop:

Code: Select all

long int n,x[1000],i,m;
long double sum,ave,ans,count;
scanf("%ld",&m);
for(i=1;i<=m;i++)
{
...
One more thing, you're already using 'i' as the count in the first for loop, so you must choose a different variable in the other for's.
by DanielMarques
Thu Jan 24, 2008 7:24 pm
Forum: Volume 103 (10300-10399)
Topic: 10340 - All in All
Replies: 129
Views: 31219

WA

Getting WA in this code. I've already tried the cases posted here and they all worked.

Code: Select all

Got AC

Go to advanced search