hi guys,
I'm trying to solve this problem using floyd's algorithm, I have read several posts about this problem (436) but I don't get the ac...:S
here it is:
I have tried changing float to double
and the limit in the condition if ( w >1.0 ) to 1.0001, 1.000001, 1.0000001
DELETED after AC
any ...
Search found 26 matches
- Tue Oct 06, 2009 4:44 am
- Forum: Volume 4 (400-499)
- Topic: 436 - Arbitrage (II)
- Replies: 17
- Views: 7151
- Thu Oct 01, 2009 7:16 pm
- Forum: Volume 8 (800-899)
- Topic: 840 - Deadlock Detection
- Replies: 5
- Views: 4402
Re: 840 - Deadlock Detection
hi guys
I'm trying this problem and I get wa...
does anyone could post some AC input - output?
thanks.
btw.what is the otuput for
I think it's not a deadlock...
I'm trying this problem and I get wa...
does anyone could post some AC input - output?
thanks.
btw.what is the otuput for
Code: Select all
1
2 2 3
I-h
h-q
I-q
- Thu Sep 04, 2008 6:04 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10088 - Trees on My Island
- Replies: 11
- Views: 6046
Re: 10088 - Trees on My Island
bad_boy, yes you need to calculate GCD( |dx|, |dy| )
by the way, I need a little help:
why this code gives me WA...
#include <cstdio>
#include <cmath>
#include <iostream>
#include <vector>
#include <iterator>
using namespace std;
#define type long long
type gcd(type a, type b){
if(b==0 ...
by the way, I need a little help:
why this code gives me WA...
#include <cstdio>
#include <cmath>
#include <iostream>
#include <vector>
#include <iterator>
using namespace std;
#define type long long
type gcd(type a, type b){
if(b==0 ...
- Thu Sep 04, 2008 2:55 am
- Forum: Volume 100 (10000-10099)
- Topic: 10023 - Square root
- Replies: 121
- Views: 45327
Re: 10023 - RTE
Thanks!! andmej, that was de error...
now it's time to face the TLE I got
now it's time to face the TLE I got

- Thu Sep 04, 2008 12:05 am
- Forum: Volume 100 (10000-10099)
- Topic: 10023 - Square root
- Replies: 121
- Views: 45327
Re: 10023 - RTE
I have changed as you say...but still RTE..with time 0.0000
- Wed Sep 03, 2008 11:13 am
- Forum: Volume 100 (10000-10099)
- Topic: 10023 - Square root
- Replies: 121
- Views: 45327
10023 - RTE
Hi,
I'm newbie in Java...
since the BigInteger class is needed for this problem I wanted to use JAVA, but I'm getting RTE.. and I don't know why...please, give mea hand.
I'm using jdk 1.6 on Fedora 9 and everything works fine here
Thanks for reading
import java.io.*;
import java.util.*;
import ...
I'm newbie in Java...
since the BigInteger class is needed for this problem I wanted to use JAVA, but I'm getting RTE.. and I don't know why...please, give mea hand.
I'm using jdk 1.6 on Fedora 9 and everything works fine here
Thanks for reading
import java.io.*;
import java.util.*;
import ...
- Wed Sep 03, 2008 4:04 am
- Forum: Volume 103 (10300-10399)
- Topic: 10348 - Submarines
- Replies: 1
- Views: 2307
10348 - Submarines
Hi, how are you?
I have a pretty good collection of WA for this problem
,
does anyone could give me some input/output data??
or a hint??
thanks for reading
I have a pretty good collection of WA for this problem

does anyone could give me some input/output data??
or a hint??
thanks for reading
- Tue Sep 02, 2008 10:06 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10341 - Solve It
- Replies: 64
- Views: 45148
Re: 10341 - Solve It
Hi, how are you??
I'm trying this problem but still getting WA... :(
I'm using Newton's Raphson method, I have tryed each test input in this topic and the output is ok...
any ideas?, thanks
#include <cstdio>
#include <cmath>
#include <iostream>
#define E 2 ...
I'm trying this problem but still getting WA... :(
I'm using Newton's Raphson method, I have tryed each test input in this topic and the output is ok...
any ideas?, thanks
#include <cstdio>
#include <cmath>
#include <iostream>
#define E 2 ...
- Sat Aug 30, 2008 4:37 am
- Forum: Volume 1 (100-199)
- Topic: 107 - The Cat in the Hat
- Replies: 278
- Views: 54972
Re: Need help understand my comipler (Dev C++ 4.9.9.2)
sorry..pretty late
windows doesn't works fine with long long (even with long?)... I think it exists something like "int64"...
windows doesn't works fine with long long (even with long?)... I think it exists something like "int64"...
- Sat Aug 30, 2008 4:19 am
- Forum: Volume 3 (300-399)
- Topic: 369 - Combinations
- Replies: 101
- Views: 33327
Re: 369 WA
I had a headache with this problem
I tried using different ways,
but, at the end the AC code produces:
input
output
and further...
I tried using different ways,
but, at the end the AC code produces:
input
Code: Select all
100 20
Code: Select all
100 things taken 20 at a time is 0 exactly.
- Tue Aug 26, 2008 10:08 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10192 - Vacation
- Replies: 58
- Views: 23975
Re: 10192 - Vacation
same problem here
after changing scanf by gets i got ac
after changing scanf by gets i got ac
- Fri Sep 07, 2007 7:46 pm
- Forum: Bugs and suggestions
- Topic: May the new system be wrong?
- Replies: 4
- Views: 2761
May the new system be wrong?
I submited a code, in the old system I got AC and now with the new system I got WA...
may this be possible?
thanx
may this be possible?
thanx
- Fri Sep 07, 2007 2:34 am
- Forum: FAQ
- Topic: New System
- Replies: 4
- Views: 7378
- Fri Sep 07, 2007 2:32 am
- Forum: General
- Topic: New system is coming!
- Replies: 13
- Views: 9833
Re: New System
It have already come....
Now It is not possible to submit code .........
Isn't it?
How many times needed for this construction????
If you want to submit your code you have to:
Log in>Browse Problems> (Contest Problems | Problems ???) > Choose the volumen > Select the problem > Submit (in the ...
Now It is not possible to submit code .........
Isn't it?
How many times needed for this construction????
If you want to submit your code you have to:
Log in>Browse Problems> (Contest Problems | Problems ???) > Choose the volumen > Select the problem > Submit (in the ...
- Thu Aug 30, 2007 3:59 am
- Forum: Volume 6 (600-699)
- Topic: 612 - DNA Sorting
- Replies: 122
- Views: 33612