Search found 10 matches

by click xx
Sat Jun 22, 2002 6:23 am
Forum: Volume 1 (100-199)
Topic: 143 - Orchard Trees
Replies: 90
Views: 26908

oh,I got AC now.But it's just unbelievable!!!
I changed the the const value esp in my program from 1e-10 to 1e-9 and
it got AC.I think there something wrong with the judge!!It cost me so my time on this stupid problem!!
by click xx
Wed Jun 19, 2002 3:51 am
Forum: Volume 1 (100-199)
Topic: 143 - Orchard Trees
Replies: 90
Views: 26908

yes,I removed that statement but still got WA.
by click xx
Tue Jun 18, 2002 10:44 am
Forum: Volume 1 (100-199)
Topic: 143 - Orchard Trees
Replies: 90
Views: 26908

143,help me please!!

I've submitted for many times and always got WA.
Who can give me some test data?Thanks!
Here is my program:
[cpp]#include<iostream.h>
#include<math.h>

const double esp=1e-10;

double tri[3][2];
int stx,sty,edx,edy;

double min(const double x1,const double x2)
{
return x1-x2<esp ? x1 : x2 ...
by click xx
Sat Jun 01, 2002 3:23 pm
Forum: C
Topic: itoa function
Replies: 5
Views: 4083

Thanks for your help!I'll try it
by click xx
Fri May 31, 2002 8:57 am
Forum: C
Topic: itoa function
Replies: 5
Views: 4083

itoa function

I used itoa function in my porgram and got compiling error.
The error message is: implicit declaration of function "int itoa(...)''
What does this mean?
by click xx
Mon May 27, 2002 11:53 am
Forum: Volume 1 (100-199)
Topic: 111 - History Grading
Replies: 135
Views: 37005

I think you can explain it in this way:
the ith number j in the input means the ith thing appears in the jth position
during the history.Isn't it?
And if you change sequence to another way:
the ith number j in the sequence means thing j happen in the ith position during te history.
So the first ...
by click xx
Tue May 14, 2002 3:39 am
Forum: Volume 1 (100-199)
Topic: 110 - Meta-Loopless Sorts
Replies: 92
Views: 16393

Thanks.I'll be more careful next time.
by click xx
Mon May 13, 2002 3:44 pm
Forum: Volume 1 (100-199)
Topic: 110 - Meta-Loopless Sorts
Replies: 92
Views: 16393

oh,I finally know what's going on now.
I haven't see the statement link about multiple input ouput formats
just above the problem set in the web page.I suggest others to have a look at it before you start to solve the problems.It gave me such a big big big lesson!!! I hope others never do the ...
by click xx
Mon May 13, 2002 3:16 pm
Forum: Volume 1 (100-199)
Topic: 110 - Meta-Loopless Sorts
Replies: 92
Views: 16393

Do you mean there will be many "n"s to input?
I think I've handled in my program.
I use the "while" loop to input every "n" then use work function to handle each input n.
But I am not sure that if my program ouput a correct format because the problem haven't said clearly about how to ouput in a ...
by click xx
Mon May 13, 2002 9:50 am
Forum: Volume 1 (100-199)
Topic: 110 - Meta-Loopless Sorts
Replies: 92
Views: 16393

problem 110 for help

I always got wrong answer.help me please!here is my program
thanks in advance
#include<iostream.h>
//#include<fstream.h>
#include<string.h>

//ifstream cin("uva110.in");
//ofstream cout("uva110.out");

const int maxn=10;

int n;
int order[maxn][maxn];

void gonext()
{
while(cin.peek()==' '||cin ...

Go to advanced search