Search found 12 matches

by DIR EN GREY
Wed Nov 29, 2006 3:23 am
Forum: Volume 102 (10200-10299)
Topic: 10215 - The Largest/Smallest Box ...
Replies: 55
Views: 29182

Thanks Jan!! I understand this issue now. I didn't know purpose of the yellow mark.

Allow me to again thank you :D
by DIR EN GREY
Tue Nov 28, 2006 12:23 am
Forum: Volume 102 (10200-10299)
Topic: 10215 - The Largest/Smallest Box ...
Replies: 55
Views: 29182

Add eps before printing anything. I used 1e-7. Hope it helps. Thanks Jan!! I got accept immediately, but I can't understand that why I must use eps before printing? How eps works? I always use cout, setiosflags() and setprecision() when round off is required, and they works fine without EPS... What...
by DIR EN GREY
Tue Nov 28, 2006 12:10 am
Forum: Volume 2 (200-299)
Topic: 201 - Squares
Replies: 32
Views: 4116

sorry sir ! I didn't get your english .... plz make it more clear..... :( sorry :oops: I copy your source code and comple it by gcc 4.1.1. And I ran your program with input described above. It is sample input (see http://acm.uva.es/p/v2/201.html). So correct program will output as follows: Problem ...
by DIR EN GREY
Mon Nov 27, 2006 8:34 pm
Forum: Volume 2 (200-299)
Topic: 201 - Squares
Replies: 32
Views: 4116

You should try sample input which described in the problem statement as follow:

Code: Select all

4
16
H 1 1
H 1 3
H 2 1
H 2 2
H 2 3
H 3 2
H 4 2
H 4 3
V 1 1
V 2 1
V 2 2
V 2 3
V 3 2
V 4 1
V 4 2
V 4 3
2
3
H 1 1
H 2 1
V 2 1
Your answer is exactly correct??
by DIR EN GREY
Mon Nov 27, 2006 8:27 pm
Forum: Volume 102 (10200-10299)
Topic: 10215 - The Largest/Smallest Box ...
Replies: 55
Views: 29182

Rejudge

Rejudgement makes this problem very very difficult one. Now, accept rate is only 2.0%, of cource I got WA too :-( http://acm.uva.es/p/problemstat.php?p=:10215 I checked the board, however, judges have just delete some tricky inputs. http://online-judge.uva.es/board/viewtopic.php?t=12778 Why everybod...
by DIR EN GREY
Wed Nov 15, 2006 5:28 am
Forum: Volume 1 (100-199)
Topic: 149 - Forests
Replies: 37
Views: 4245

hi harrym. I'll show you which tree can be visible in sample input case. I hope this helps you. Points have beeen sorted by distance between tree and observer. visible: (0,0) visible: (1,0) visible: (0,1) visible: (1,1) visible: (0,-1) visible: (1,-1) visible: (-1,0) visible: (2,0) visible: (-1,1) v...
by DIR EN GREY
Mon Nov 13, 2006 11:23 pm
Forum: C++
Topic: input a iteger like a string
Replies: 3
Views: 2198

As misof said, enve if the number of digits is undefined, you can use scanf. In your case, I think the number of integers is always two (because you wrote) , so you can use scanf as the follows:

Code: Select all

scanf("%s %s", string_a, string_b);
There is no problem.
by DIR EN GREY
Fri Nov 10, 2006 9:49 am
Forum: Volume 1 (100-199)
Topic: 171 - Car Trialling
Replies: 19
Views: 4566

nooooo!!! I found my mistake... I'm stupid... and get accept. I got wa many times, and I made many test cases. I'll show that here, I wish these help someone... last case is very critical data for my code... jesus... INPUT: KEEP LEFT AND THEN GO RIGHT CAS TO 20 KMH GO FIRST RIGHT AT "SMITH ST." AND ...
by DIR EN GREY
Fri Nov 10, 2006 8:34 am
Forum: Other words
Topic: ACM ICPC Regional Problem == UVA Problem
Replies: 11
Views: 4516

thanks akercito, if what you say is true, I think you should report this issue to acm. but I can't believe ... mmmm
by DIR EN GREY
Thu Nov 09, 2006 12:22 pm
Forum: Volume 2 (200-299)
Topic: 294 - Divisors
Replies: 91
Views: 23266

Hi.

Try following input, you'll get correct output.

Code: Select all

2
2 2
100 100
But another following input, you'll get incorrect output.

Code: Select all

2
100 100
2 2
maybe there is a little bug
by DIR EN GREY
Thu Nov 09, 2006 12:10 pm
Forum: Other words
Topic: ACM ICPC Regional Problem == UVA Problem
Replies: 11
Views: 4516

oh... I think it is very unfair. But I understand that making new problem is very difficult. I have participated on Asia regional acm/icpc, and all problems are very unique fo me. Because of that almost we know www online judge like uva or pku, if same problem would be on test, many teams can solve ...
by DIR EN GREY
Thu Nov 09, 2006 12:00 pm
Forum: Volume 1 (100-199)
Topic: 171 - Car Trialling
Replies: 19
Views: 4566

171 WA .... Why??

Hi.

I got many wrong answers... but I can't find where wrong in my code...
I attempted some inputs and all outputs are correct, mabe

please give some critical INPUT!!!! thanks.

Here is my code.

Code: Select all

got ac with a little change

Go to advanced search