Search found 29 matches
- Sun Aug 08, 2004 8:18 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10099 - The Tourist Guide
- Replies: 91
- Views: 43153
- Wed Jul 21, 2004 5:51 am
- Forum: Volume 101 (10100-10199)
- Topic: 10159 - Star
- Replies: 9
- Views: 3779
10159 - Star
Hey guys,
I'm wondering if there's an easier way to solve this problem. What I'm thinking of is create a grid with the triangles, where each cell contains 2 triangles. Then use recursion to get the solution. However, it would be long and inefficient.
Any other ideas?
Thanks.
I'm wondering if there's an easier way to solve this problem. What I'm thinking of is create a grid with the triangles, where each cell contains 2 triangles. Then use recursion to get the solution. However, it would be long and inefficient.
Any other ideas?
Thanks.
- Mon Jul 07, 2003 5:59 am
- Forum: Volume 105 (10500-10599)
- Topic: 10527 - Persistent Numbers
- Replies: 26
- Views: 16169
- Mon Jul 07, 2003 12:20 am
- Forum: Volume 105 (10500-10599)
- Topic: 10527 - Persistent Numbers
- Replies: 26
- Views: 16169
- Sun Jul 06, 2003 5:20 pm
- Forum: Volume 105 (10500-10599)
- Topic: 10527 - Persistent Numbers
- Replies: 26
- Views: 16169
Thx
Ahh I'm an idiot!
I misread the problem. I thought there would be in the input up to 1000 numbers, but it's 1000 digits.
Thanks for pointing that out!

Thanks for pointing that out!

- Sun Jul 06, 2003 5:20 am
- Forum: Volume 105 (10500-10599)
- Topic: 10527 - Persistent Numbers
- Replies: 26
- Views: 16169
10527 - Persistent Numbers
Hi,
Could anyone please point me to the error I might have in the code. I can't seem to find it. It looks like it works for every case I've tried but get WA in systests.
Maybe I'm using the wrong algorithm?
Here's how it tries to solve it:
1. Loops from i = 2 to 9 and if it's possible to divide the ...
Could anyone please point me to the error I might have in the code. I can't seem to find it. It looks like it works for every case I've tried but get WA in systests.
Maybe I'm using the wrong algorithm?
Here's how it tries to solve it:
1. Loops from i = 2 to 9 and if it's possible to divide the ...
- Thu Jul 03, 2003 3:46 pm
- Forum: C++
- Topic: What version g++ is used?
- Replies: 1
- Views: 1987
- Tue May 20, 2003 8:49 pm
- Forum: C++
- Topic: DJGPP sucks ?
- Replies: 1
- Views: 1940
- Sat May 10, 2003 3:39 am
- Forum: Volume 7 (700-799)
- Topic: 760 - DNA Sequencing
- Replies: 33
- Views: 16534
760?
Prog 760, DNA sequencing, http://acm.uva.es/p/v7/760.html, in the first input, it has atgc and tgc and the corresponging output tg. However, shouldn't it be tgc?
Thx
Thx
- Tue May 06, 2003 4:16 am
- Forum: Other words
- Topic: Programming challenges book
- Replies: 6
- Views: 2463
- Sun Mar 30, 2003 6:57 pm
- Forum: Other words
- Topic: World Finals 2003 Discussion Thread
- Replies: 32
- Views: 11627
- Sun Mar 30, 2003 5:24 am
- Forum: Other words
- Topic: World Finals 2003 Discussion Thread
- Replies: 32
- Views: 11627
- Sun Mar 30, 2003 4:18 am
- Forum: Other words
- Topic: World Finals 2003 Discussion Thread
- Replies: 32
- Views: 11627
- Sun Mar 30, 2003 4:07 am
- Forum: Other words
- Topic: Programming challenges book
- Replies: 6
- Views: 2463
- Sat Mar 29, 2003 1:49 am
- Forum: Other words
- Topic: Programming challenges book
- Replies: 6
- Views: 2463
Programming challenges book
Just wondering if anyone knows when the book will be released?
Thx
Thx