## Search found 69 matches

Tue Feb 27, 2007 1:29 am
Forum: Volume 111 (11100-11199)
Topic: 11181 - Probability|Given
Replies: 8
Views: 3356
For example - first test case... 3 people, 2 of this person buy something. There are only C(3,2) = 3 possibilities: a) 1 & 2 buy something, 3 not, probability of this is 0,1*0,2*0,7 = 0,014 b) 1 & 3 buy something, 2 not, probability of this is 0,1*0,8*0,3 = 0,024 c) 2 & 3 buy something, 1 not, proba...
Mon Feb 26, 2007 9:17 pm
Forum: Volume 4 (400-499)
Topic: 453 - Intersecting Circles
Replies: 84
Views: 15781
Many thanks, Jan. After 6 PE I got Accepted. You are right, PE is caused by EPS value. For 10^( -12 ) or 10^( -8 ) it is PE. For 10^( -4 ) it is AC.
Mon Feb 26, 2007 2:49 pm
Forum: Volume 111 (11100-11199)
Topic: 11178 - Morley's Theorem
Replies: 2
Views: 1813
I randomly generated 50 examples of input line. The points are in counter clockwise order. Input: 50 482 257 952 987 758 465 81 21 696 722 544 41 313 243 681 737 785 188 406 93 572 723 723 595 445 27 813 736 729 348 99 739 501 952 601 531 137 437 143 520 392 29 241 65 760 839 927 369 31 59 166 992 5...
Mon Feb 26, 2007 12:31 am
Forum: Volume 4 (400-499)
Topic: 453 - Intersecting Circles
Replies: 84
Views: 15781

### 453 PE

Many threads to this problem are about Wrong Answer. My first submit was WA too, but next 4 submissions I had PE. I don't understand, why :( I think, that messages ("NO INTERSECTION" or "THE CIRCLES ARE THE SAME") and coordinates of the points (with parenthesis) I print correct, without any blanks. ...
Fri Feb 16, 2007 1:51 am
Forum: Volume 101 (10100-10199)
Topic: 10197 - Learning Portuguese
Replies: 45
Views: 16020
Before AC of this problem, I had 2 PE's. a) I read the line with two words, I found first space (ASCII 32) and I supposed, that before this space is portuguese word and behind this space is english word. Also - portuguese word cannot have space (if it not so, I will have WA), english word may have s...
Mon Feb 05, 2007 12:01 am
Forum: Volume 105 (10500-10599)
Topic: 10522 - Height to Area
Replies: 32
Views: 15722
I used your conditions and worked out the formula: Let A = the triangle area We have : A = 1/2 ha * a = 1/2 hb * b = 1/2 hc * c (*) In Heron's A = 1/4 sqtr( (a + b + c) *(-a + b + c) *(a - b + c) *(a + b - c) ) Let x = 1/ha + 1/hb + 1/hc y = -1/ha + 1/hb + 1/hc z = 1/ha - 1/hb + 1/hc t = 1/ha + 1/h...
Sun Jan 21, 2007 1:26 pm
Forum: Volume 102 (10200-10299)
Topic: 10289 - A Square and Equilateral Triangles
Replies: 27
Views: 8744

### 10289 rejudge

Hello! I have problem with 10289. This problem was rejudged. Before rejudge, I solved this problem successful with first submit. But after rejudge I have WA. I tried add to t1..t7 small value (1e-12; 1e-15), but still WA... Please: can someone explain, where may be a problem? I coded it in Pascal - ...
Wed Jan 17, 2007 11:11 am
Forum: Volume 6 (600-699)
Topic: 617 - Nonstop Travel
Replies: 9
Views: 3919
Thank you tuman, with help of your I/O I found out my error... I have AC now
Sat Dec 30, 2006 10:38 pm
Forum: Volume 111 (11100-11199)
Topic: 11152 - Colourful Flowers
Replies: 45
Views: 22225
I don't think, that's so... My AC program don't assume this. For input 1 2 1000, I have runtime error 207 (invalid floating point operation), but in judge it is OK.