Moderator: Board moderators
abcd
aaaa
abc
aab
abababaabababa
pqrsabcdpqrs
azbzczdzez
aaab
acaaaba
zzzaaazz
pooq
aoob
dabcdcba
z
aaaab
abbbb
ababab
aaaaa
abbcdba
3 dcbabcd
0 aaaa
2 cbabc
1 baab
0 abababaabababa
9 srqpdcbasrqrsabcdpqrs
5 zeazdbzczbdzaez
1 baaab
2 abcaaacba
1 zzzaaazzz
2 qpoopq
2 baooab
1 dabcdcbad
0 z
0
1 baaaab
1 abbbba
1 bababab
0 aaaaa
2 abdcbcdba
3 abcdcba
0 aaaa
2 abcba
1 baab
0 abababaabababa
9 pqrsabcdpqrqpdcbasrqp
5 azbezczdzczebza
1 baaab
2 acbaaabca
1 zzzaaazzz
2 pqooqp
2 abooba
1 dabcdcbad
0 z
0
1 baaaab
1 abbbba
1 abababa
0 aaaaa
2 abbcdcbba
Noim, did you get AC ?
scanf("%s", &input[1]);
Do you think I should make a program that checks if the input string is always present in the palindromes?
first i have determined the lcs string for the input string and the reverse of input string
what do this prove?scanf("%s", &input[1]);
Noim, I was not sure if you had got accepted because of this sentence:
Quote:
first i have determined the lcs string for the input string and the reverse of input string---------> this is my quotation.
This would give an LCS of abcd from abcdcbad,

Users browsing this forum: No registered users and 1 guest