Hi,
I have checked out all the available test cases, the ones available here and on algorithmist.com. But couldn't understand what's wrong with my program. I used greedy algorithm. Can anyone point out what is wrong with my programme, is there any boundary case which I am missing?
Thanks a lot ...
Search found 2 matches
- Sun Dec 13, 2009 11:10 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10020 - Minimal coverage
- Replies: 57
- Views: 27328
- Fri Dec 11, 2009 4:35 pm
- Forum: Volume 6 (600-699)
- Topic: 673 - Parentheses Balance
- Replies: 243
- Views: 79953
Re: 673 - Parentheses Balance
Hi,
I have got correct output for all the test cases I could find, but still get WA. What all is possible in the input? I changed the code for ignoring spaces also. Anyone any idea? I am new to UVA, it would be very kind if someone can help me out.
Thanks a lot.
#include <iostream>
#include ...
I have got correct output for all the test cases I could find, but still get WA. What all is possible in the input? I changed the code for ignoring spaces also. Anyone any idea? I am new to UVA, it would be very kind if someone can help me out.
Thanks a lot.
#include <iostream>
#include ...