## Search found 23 matches

Tue Feb 07, 2006 6:19 pm
Forum: Volume 109 (10900-10999)
Topic: 10930 - A-Sequence
Replies: 102
Views: 32367
I think you are not evaluating all the possible sums involving the elements of the sequence, so you need to change the algo. Try this input:

4
1 3 5 8

Case #1: 1 3 5 8
This is an A-sequence.

And should be:
Case #1: 1 3 5 8
This is not an A-sequence.
Wed Nov 09, 2005 6:58 pm
Forum: Volume 109 (10900-10999)
Topic: 10930 - A-Sequence
Replies: 102
Views: 32367
Unfortunately, there is an input where the value 1003 appears. I have already seen the input of this problems many times, but I could only see this error now

I will try to fix this error and to send the new input to UVA's site.

I am sorry!

S
Fri Sep 03, 2004 3:46 pm
Forum: Volume 106 (10600-10699)
Topic: 10697 - Firemen barracks
Replies: 45
Views: 15742
When I decide whether two slopes are the same, I allow an error of 1e-14. It is OK. I am putting some more test cases: INPUT 10 0.3 0.5 0.0 0.9 0.2 0.8 0.4 1.0 1.4 0.6 0.4 1.0 1.7 0.7 12.5 3.2 0.1 15.7 3.3 4.6 2.3 0.5 2.2 3.1 333.6 1.4 0.8 0.6 2.0 0.9 1.3 1.9 0.1 1.4 0.0 0.7 0.0 0.7 1.6 1.0 0.1 0.1...
Thu Sep 02, 2004 7:42 pm
Forum: Volume 106 (10600-10699)
Topic: 10697 - Firemen barracks
Replies: 45
Views: 15742
I friend mine also got AC in the problem 190 but he was getting WA in this problem. When we tested his program it failed in this input: 0.7 1.0 0.9 0.2 0.1 0.2 The answer should be: The equidistant location is (0.5, 0.5). He was getting something like (nan, nan) But I think it is a little bit diffic...
Thu Sep 02, 2004 3:49 pm
Forum: Volume 106 (10600-10699)
Topic: 10697 - Firemen barracks
Replies: 45
Views: 15742
> I think programming problems should concentrate on solving programming > questions, not on how a particular compiler in a particular environment prints > numbers. I think solving programming questions is most important too. But during the contest we receive some complains about the -0.0 and in fac...
Thu Sep 02, 2004 3:12 pm
Forum: Volume 106 (10600-10699)
Topic: 10697 - Firemen barracks
Replies: 45
Views: 15742
During the contest the explanation about the -0.0 was given, but it is really missing now
I will try to change the problem description and send it to the UVA.
I got AC too
Thu Sep 02, 2004 2:56 pm
Forum: Volume 106 (10600-10699)
Topic: 10697 - Firemen barracks
Replies: 45
Views: 15742
Hi! During the contest, we changed the problem description, so a answer (-0.0, 2.0) should be (0.0, 2.0) and the output should not have a coordinated -0.0. I compared the outputs and I think this is the problem, look the cases below: 2 0.1 1.2 1.3 0.4 0.2 1.2 0.0 0.8 0.6 2.4 0.9 1.6 The equidistant ...
Thu Sep 02, 2004 1:42 pm
Forum: Volume 106 (10600-10699)
Topic: 10697 - Firemen barracks
Replies: 45
Views: 15742
So, I think we have a problem now :) I will post some test cases here, so we can compare our answers: INPUT 10 0.3 0.4 0.3 0.4 1.1 0.7 2.1 23.4 5.9 0.3 4.5 -2.0 1.0 0.0 0.2 0.8 0.1 0.9 8.2 -1.7 5.4 3.0 -4.0 15.1 7.2 3.5 5.2 9.3 0.7 8.2 -7.2 -3.4 6.3 9.7 -9.0 5.4 1.9 8.4 0.4 1.9 0.4 1.9 8.1 -0.2 0.5 ...
Wed Sep 01, 2004 9:51 pm
Forum: Volume 106 (10600-10699)
Topic: 10697 - Firemen barracks
Replies: 45
Views: 15742
I sent the special corretor program to UVA this Monday (08/30). I think they are a little bit busy now, so lets wait a few days and they should rejudge the submissions in this problem
Fri Aug 27, 2004 8:43 pm
Forum: Volume 106 (10600-10699)
Topic: 10697 - Firemen barracks
Replies: 45
Views: 15742
Hi! I am one of the problemsetters of this problem. As during the contest we noted that nobody was getting accept in this problem, so after the contest I took some source codes from people in our university and changed some inputs which can produce a float point error. So after this we were expectin...
Mon Jul 19, 2004 3:28 pm
Forum: Volume 106 (10600-10699)
Topic: 10681 - Teobaldo's Trip
Replies: 44
Views: 12120
Hi, everybody!!

I tried to correct the problems during the contest, but occurred a problem with the mail service at UFRN, and I did not receive any question and I think the messages I sent did not arrived.

We are fixing the errors now and I will send the corrected version.

S
Tue Jan 13, 2004 11:01 pm
Forum: Volume 3 (300-399)
Topic: 347 - Run
Replies: 20
Views: 6034

I didn't get accepted, but I think the bigger runaround number is 9682415. Am I correct??
Tue Nov 04, 2003 3:50 pm
Forum: Volume 100 (10000-10099)
Topic: 10061 - How many zero's and how many digits ?
Replies: 43
Views: 21524

### Re: 10061 WA

Hi, mido! I think your mistake is when you are trying to find how many trailing zeros the factorial has in the base b, the other part is ok :) Try this: Input 1000000 798 1000000 799 Output 55553 1917886 21737 1917527 Your program's output was different of the my accept's problem output. Try to find...
Wed Sep 03, 2003 12:57 pm
Forum: Volume 103 (10300-10399)
Topic: 10330 - Power Transmission
Replies: 43
Views: 15989
Thank's. My output now is 24, but still WA
Can somebody give me some test cases or test my program??
Wed Sep 03, 2003 2:14 am
Forum: Volume 103 (10300-10399)
Topic: 10330 - Power Transmission
Replies: 43
Views: 15989

### 10330 - WA

Hi! I am trying solve the problem 10330, but I only get Wrong Anser :( So, I decide to request some help. I have this input 4 10 20 30 40 6 1 2 5 1 3 10 1 4 13 2 3 5 2 4 7 3 4 20 3 1 1 2 3 4 2 50 100 1 1 2 100 1 1 1 2 8 100 100 100 100 100 100 100 100 12 1 2 5 1 3 7 1 4 6 2 5 4 2 6 3 3 6 4 3 7 1 4 7...