10788 - Parenthesizing Palindromes

All about problems in Volume 107. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

sq
New poster
Posts: 3
Joined: Sun Jan 02, 2005 9:15 am

Post by sq » Mon Jan 17, 2005 8:31 pm

stubbscroll wrote:Try this case, I used it to debug my program:

Code: Select all

1
abaaba

Code: Select all

Case 1: Valid, Unique
My program got it correct.
Gosh... I've spent so much time on this problem... It shouldn't be difficult :(

User avatar
smilitude
Experienced poster
Posts: 137
Joined: Fri Jul 01, 2005 12:21 am

Post by smilitude » Mon Jul 09, 2007 2:20 am

anyone getting confused with the problem statement and misof's definition, plz just re-read this lines, you'll get everything at a glance!
... we find many of the editors and spreadsheet applications using colors or emphasized fonts to show the nesting of the parenthesis structure...
....
We may not have colors but we have different letters.
each bracket is turned into a letter! thats all!
this is good problem in sense of "understanding the problem statement"
fahim
#include <smile.h>

Moad
New poster
Posts: 1
Joined: Sat Nov 29, 2014 9:51 pm

Re: 10788 - Parenthesizing Palindromes

Post by Moad » Sat Nov 29, 2014 9:56 pm

Here is a good special case:

abcdefgabcdefggfedcbagfedcba


Result :Valid, Unique

Post Reply

Return to “Volume 107 (10700-10799)”