
Search found 53 matches
- Sun Feb 13, 2005 7:18 pm
- Forum: Algorithms
- Topic: Special case of Hamiltonian cycle
- Replies: 4
- Views: 2253
- Sun Feb 13, 2005 4:01 pm
- Forum: Algorithms
- Topic: Special case of Hamiltonian cycle
- Replies: 4
- Views: 2253
- Sun Feb 13, 2005 9:47 am
- Forum: Algorithms
- Topic: Special case of Hamiltonian cycle
- Replies: 4
- Views: 2253
Special case of Hamiltonian cycle
I need help with:
http://acm.sgu.ru/problem.php?contest=0&problem=122
If you don't want to open it, the problem is:
You have an undirected graph with N vertices. Each vertex has at least (N+1)/2 neighbours. Needed is to construct a hamiltonian cycle. I guess it is assumed that it always exists.
I ...
http://acm.sgu.ru/problem.php?contest=0&problem=122
If you don't want to open it, the problem is:
You have an undirected graph with N vertices. Each vertex has at least (N+1)/2 neighbours. Needed is to construct a hamiltonian cycle. I guess it is assumed that it always exists.
I ...
- Thu Jan 06, 2005 9:52 am
- Forum: Algorithms
- Topic: Exact matching subimages
- Replies: 5
- Views: 2031
Thank you so much! I didn't find no errors in your algo. Besides, task H is qiute interesting by itself. Perhaps I ll have to look for good techniques of guessing values for (x2-x1) and (y2-y1)... I realize that I can't solve this problem strictly, but I could dig for a suboptimal solution...
Again ...
Again ...
- Tue Jan 04, 2005 2:58 pm
- Forum: Algorithms
- Topic: Exact matching subimages
- Replies: 5
- Views: 2031
- Tue Jan 04, 2005 11:45 am
- Forum: Algorithms
- Topic: Exact matching subimages
- Replies: 5
- Views: 2031
Exact matching subimages
Hi!
I have a practical task and I need some pointers on that. Imagine we have two raster images (let it be .BMP). Let's say they are big, about 1000x1000x32bit. I need to find their largest common subimage. And I am not interested in subimages smaller than, let's say 50x50.
I decided that computing ...
I have a practical task and I need some pointers on that. Imagine we have two raster images (let it be .BMP). Let's say they are big, about 1000x1000x32bit. I need to find their largest common subimage. And I am not interested in subimages smaller than, let's say 50x50.
I decided that computing ...
- Sun Oct 17, 2004 3:12 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10746 - Crime Wave - The Sequel
- Replies: 27
- Views: 22089
- Sun Oct 17, 2004 2:55 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10746 - Crime Wave - The Sequel
- Replies: 27
- Views: 22089
10746 - Crime Wave - The Sequel
:-?
Help me people! Its the dumb russian again.
I used DP for this problem.
I stored situations in structures like this:
nBank : integer; // Current bank that we re trying to save
PartolsMask : a bit vector of length M, indicating which police patrols went to the banks
At first I had one ...
Help me people! Its the dumb russian again.
I used DP for this problem.
I stored situations in structures like this:
nBank : integer; // Current bank that we re trying to save
PartolsMask : a bit vector of length M, indicating which police patrols went to the banks
At first I had one ...
- Mon Sep 20, 2004 4:08 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10709 - Intersection is Not that Easy
- Replies: 41
- Views: 13052
- Mon Sep 20, 2004 4:03 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10707 - 2D-Nim
- Replies: 15
- Views: 31276
- Wed Sep 15, 2004 5:29 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10704 - Traffic!
- Replies: 15
- Views: 11603
- Sat Sep 04, 2004 6:19 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10707 - 2D-Nim
- Replies: 15
- Views: 31276
- Fri Sep 03, 2004 3:07 pm
- Forum: Volume 107 (10700-10799)
- Topic: 10707 - 2D-Nim
- Replies: 15
- Views: 31276
10707 - 2D-Nim
Well I solved it. But I didn't enjoy it at all. My pascal solution is 200+ lines and over 5KB in size. I wan't smaller programs, preferably in Pascal. If your program is AC and under 2KB or so, please leave it here as a private message or send it to caa<commercial_at>academ.tsc.ru
Thanks to ...
Thanks to ...
- Thu Sep 02, 2004 9:01 am
- Forum: Volume 107 (10700-10799)
- Topic: 10704 - Traffic!
- Replies: 15
- Views: 11603
- Tue Aug 31, 2004 8:30 am
- Forum: Volume 107 (10700-10799)
- Topic: 10704 - Traffic!
- Replies: 15
- Views: 11603
No I never proved an upper bound. When I think of a 6x6 field I just don't believe that there is A WHOLE LOT of possible situations.
But since you asked me about it and its an interesting question, let's put it this way:
1. there are 12 lines in total, vertical and horizontal.
2. we can put 1 block ...
But since you asked me about it and its an interesting question, let's put it this way:
1. there are 12 lines in total, vertical and horizontal.
2. we can put 1 block ...