please solve my problem!!!!!!!!!!!!!!!!!!!!

Write here if you have problems with your Pascal source code

Moderator: Board moderators

Post Reply
rezamoh
New poster
Posts: 1
Joined: Sun Jan 19, 2003 9:52 am
Contact:

please solve my problem!!!!!!!!!!!!!!!!!!!!

Post by rezamoh » Sun Jan 19, 2003 9:56 am

[pascal]
Problem A
(Program filename: A.pas)
Substrings
You are given a number of case-sensitive strings of alphabetic characters, find the largest string X, such that either X, or its inverse can be found as a substring of any of the given strings.
Input (filename: A.IN)
The first line of the input file contains a single integer t (1

Post Reply

Return to “Pascal”