Search found 5 matches

by witto
Sat Jul 05, 2003 3:38 am
Forum: Volume 105 (10500-10599)
Topic: 10505 - Montesco vs Capuleto
Replies: 73
Views: 47675

Try doing a BFS insted of DFS... it worked for me.
by witto
Fri Jul 04, 2003 2:59 am
Forum: Volume 105 (10500-10599)
Topic: 10505 - Montesco vs Capuleto
Replies: 73
Views: 47675

Re: My guess

windows2k wrote:
lucindo wrote:My accepted program outpus '0' for this input
What about the input?
3
(...)
thx
The output of my solution for that input is:

Code: Select all

0
2
2
Good Luck
by witto
Fri Jun 20, 2003 1:20 am
Forum: Volume 105 (10500-10599)
Topic: 10505 - Montesco vs Capuleto
Replies: 73
Views: 47675

Solved...

I was missing out something in the vertex coloring process....
I rewrote the function and got accepted.

Many thanks.
by witto
Thu Jun 19, 2003 4:32 am
Forum: Volume 105 (10500-10599)
Topic: 10505 - Montesco vs Capuleto
Replies: 73
Views: 47675

10505 - Montesco vs Capuleto

What should be the output for this input:
1

2
0
1 5

It seems that the judge input has something like that.
I've put an assert() to check that.

As for the algorithm, I'm trying to find all the bipartite components of the graph build from input and inviting the people from the bigger set of each ...
by witto
Sun Jun 08, 2003 11:30 pm
Forum: Volume 102 (10200-10299)
Topic: 10267 - Graphical Editor
Replies: 190
Views: 77222

I seems like you figured out what your problem was.

I am facing the same problems here and don't know why I'm getting WA. Can you give any hint to help me solve the problem?

Go to advanced search