Search found 1 match
- Sat Oct 04, 2008 2:43 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10054 - The Necklace
- Replies: 62
- Views: 33214
Re: 10054 - The Necklace
I got runtime error in this problem. I can't find the mistake. Please help me. Thinks. #include <iostream> #include <vector> using namespace std; struct node { short num; node *next; }; struct color { short co; node *now,*head,*last; }c[51]; short in[50],w; bool DFS(short a,short &dest,bool v[])...