## Search found 27 matches

Thu Nov 13, 2003 10:05 pm
Forum: Volume 105 (10500-10599)
Topic: 10566 - Crossed Ladders
Replies: 39
Views: 12603

### 10566

Ok, you got me !!!

Should I treat it as a special case ???

Bye, Aur
Thu Nov 06, 2003 4:37 pm
Forum: Volume 105 (10500-10599)
Topic: 10566 - Crossed Ladders
Replies: 39
Views: 12603

### 10566

Maarten, you're right. I removed that lines, and change fabs(ft) by fabs(a - b) > 1e-15 and now I get Wrong Answer ... Here some sample input/output for my program ... Input: 30 40 10 12.619429 8.163332 3 10 10 3 10 10 1 300 400 100 126.19429 81.63332 30 100 100 30 100 100 10 3000 4000 1000 1261.942...
Wed Nov 05, 2003 10:54 pm
Forum: Volume 105 (10500-10599)
Topic: 10566 - Crossed Ladders
Replies: 39
Views: 12603

### 10566 - TLE

Hi !!!

fa and fb stores the value of the function, applied to the limits a and b ...

The root is inside this limits.
Tue Nov 04, 2003 6:26 pm
Forum: Volume 105 (10500-10599)
Topic: 10566 - Crossed Ladders
Replies: 39
Views: 12603

### 10566 - TLE

Hello, can you help me with my code ? I
Wed Sep 10, 2003 4:23 am
Forum: Volume 100 (10000-10099)
Topic: 10071 - Back to High School Physics
Replies: 49
Views: 8701

### 10071

Hello,

Is there a way to optimize this problem, it's very simple, but I get 0.094 sec.

Thanks, Aur
Thu Jul 17, 2003 9:15 pm
Forum: Other words
Topic: Online Judge
Replies: 4
Views: 1288

### Online Judge

Is it off ? The last submission from http://acm.uva.es/cgi-bin/OnlineJudge?Status:Valladolid is yesterday ... I've tried to submit, but I can't.

Thanks, Aur
Mon Mar 31, 2003 7:46 am
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 42757

### 10062

Hi,

First of all, I think you should do ascii check conditon ...

Good luck , Aur
Tue Mar 25, 2003 3:41 am
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 42757

Hi all, I don't understand why I get WA on my code: [c] #include <stdio.h> void main () { int i, j, c = 0, vetor[256], vetor1[256], temp1; char str[1000], temp; while (gets(str) != NULL) { for (i = 0; i < 256; i++) { vetor = vetor1 = 0; } temp1 = 0; str[1000]='\0'; for (i = 1; str != '\0'; i++) { fo...
Sat Feb 15, 2003 2:12 am
Forum: Volume 104 (10400-10499)
Topic: 10452 - Marcus
Replies: 21
Views: 10298
Here is my code: [c]#include <stdio.h> #include <string.h> int main() { int cases,m,n,i,j,mcopy,flag_right,flag_left; char cobble[100000][10]; scanf("%d",&cases); while(cases) { scanf("%d %d",&m,&n); for(i=0;i<=m;i++) cobble [0] = '\0'; mcopy = m; while(mcopy) { scanf...
Wed Feb 12, 2003 8:07 pm
Forum: Volume 104 (10400-10499)
Topic: 10452 - Marcus
Replies: 21
Views: 10298
Are you getting WA ??? I've tried your code and for the input:

Code: Select all

``````PST#T
BTJAS
TYCVM
YEHOF
XIBKU
N@RJB``````
it gives me:

Code: Select all

``forth forth right right forth forth forth left``

Code: Select all

``forth forth right right forth forth forth``
My problem is worst, I'm getting TLE, don't know why !!!
Tue Feb 11, 2003 11:54 pm
Forum: Volume 104 (10400-10499)
Topic: 10452 - Marcus
Replies: 21
Views: 10298

### 10452 - Marcus

Is there something special about this problem ? I think it's not difficult, and besides there is only one path, right ?? But I don't know why I get TLE !!!

Thanks for any reply !!!
Tue Feb 04, 2003 1:37 pm
Forum: Volume 104 (10400-10499)
Topic: 10432 - Polygon Inside A Circle
Replies: 62
Views: 21510
Thanks a lot, I've follow the suggestions and get accepted now

But I have a question ! Why ACM judge doesn't define M_PI ? I tried it and get compiler error !

Aur
Mon Feb 03, 2003 3:14 pm
Forum: Volume 104 (10400-10499)
Topic: 10432 - Polygon Inside A Circle
Replies: 62
Views: 21510

### 10432 - Polygon Inside A Circle

What's wrong with my code ? [c] #include <stdio.h> #include <math.h> #define Pi 3.1415926535897932384626433832795029L int main() { long double ang; int r, n; while(scanf("%d %d",&r,&n)==2) { ang = 180 - ((double)180*(n-2)/n); printf("%.3lf\n",(sin(Pi/180*ang)*r*r*n)/2); }...
Thu Jan 30, 2003 2:25 am
Forum: Volume 101 (10100-10199)
Topic: 10197 - Learning Portuguese
Replies: 45
Views: 16620

### 10197 - Learning Portuguese

Hi all,

Could you give me some test cases, I don know why I get wrong answer

Thanks, Aur
Tue Jan 28, 2003 1:13 am
Forum: Volume 100 (10000-10099)
Topic: 10033 - Interpreter
Replies: 88
Views: 27445
I didn't understand this problem ... should I only count the number of operations ??? And for the sample input the output shouldn't be 15 ???

Thanks, Aur