Search found 34 matches
- Tue Mar 23, 2004 10:52 am
- Forum: Algorithms
- Topic: Distance between two convex poligons - help me
- Replies: 1
- Views: 1298
Distance between two convex poligons - help me
There are 2 convex poligons (coord. are integer numbers) and I need to calculate the minimum distance between them. Who can give me some ideas????
- Mon Jul 07, 2003 7:56 am
- Forum: Volume 100 (10000-10099)
- Topic: 10049 - Self-describing Sequence
- Replies: 33
- Views: 18045
10049 - Self-describing Sequence
Who can give me some ideas to solve this problem... I foud some information about this sequance of numbers that are called "Golomb's sequence". I know that the formulas for this sequance:
"a(n) is nearest integer to (and asymptotic to)
tau^(2-tau)*n^(tau-1), where tau is the golden number
(1+sqrt ...
"a(n) is nearest integer to (and asymptotic to)
tau^(2-tau)*n^(tau-1), where tau is the golden number
(1+sqrt ...
- Sat Jun 28, 2003 7:01 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10016 - Flip-Flop the Squarelotron
- Replies: 5
- Views: 3544
- Fri Apr 04, 2003 6:34 pm
- Forum: Volume 5 (500-599)
- Topic: 545 - Heads
- Replies: 67
- Views: 54418
- Fri Apr 04, 2003 12:28 pm
- Forum: Volume 5 (500-599)
- Topic: 545 - Heads
- Replies: 67
- Views: 54418
- Thu Apr 03, 2003 2:59 pm
- Forum: Volume 5 (500-599)
- Topic: 545 - Heads
- Replies: 67
- Views: 54418
545 WA - 474 AC Who can help me???
Pls. tell me what's wrong with my code. I get WA but for 474 problem I got AC
I modified the code so it round the result now, that means that for n=6 I obtain 1.563E-2, and for n=7 => 7.813E-3...
[cpp]
#include <stdio.h>
#include <math.h>
main()
{ long n;
double u,a,l2;
long b;
l2=log10 ...
I modified the code so it round the result now, that means that for n=6 I obtain 1.563E-2, and for n=7 => 7.813E-3...
[cpp]
#include <stdio.h>
#include <math.h>
main()
{ long n;
double u,a,l2;
long b;
l2=log10 ...
- Wed Mar 26, 2003 1:31 pm
- Forum: Volume 5 (500-599)
- Topic: 531 - Compromise
- Replies: 73
- Views: 36932
- Fri Feb 28, 2003 7:47 am
- Forum: Volume 4 (400-499)
- Topic: 414 - Machined Surfaces
- Replies: 49
- Views: 14934
- Tue Jan 28, 2003 8:35 am
- Forum: Volume 100 (10000-10099)
- Topic: 10025 - The ? 1 ? 2 ? ... ? n = k problem
- Replies: 42
- Views: 18153
- Tue Jan 21, 2003 9:00 am
- Forum: Volume 100 (10000-10099)
- Topic: 10025 - The ? 1 ? 2 ? ... ? n = k problem
- Replies: 42
- Views: 18153
- Tue Jan 21, 2003 8:58 am
- Forum: Volume 100 (10000-10099)
- Topic: 10025 - The ? 1 ? 2 ? ... ? n = k problem
- Replies: 42
- Views: 18153
- Tue Jan 21, 2003 8:05 am
- Forum: Volume 100 (10000-10099)
- Topic: 10025 - The ? 1 ? 2 ? ... ? n = k problem
- Replies: 42
- Views: 18153
- Thu Jan 16, 2003 2:11 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10025 - The ? 1 ? 2 ? ... ? n = k problem
- Replies: 42
- Views: 18153
- Thu Jan 16, 2003 11:36 am
- Forum: Volume 100 (10000-10099)
- Topic: 10025 - The ? 1 ? 2 ? ... ? n = k problem
- Replies: 42
- Views: 18153
- Wed Jan 15, 2003 7:01 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10025 - The ? 1 ? 2 ? ... ? n = k problem
- Replies: 42
- Views: 18153