|
|||
FIPS GroupsIn the research department of an automotive vehicle manufacturer company, a very important task is the testing of compatibility of existing and new electric and electronic components (sensors, controllers, computers, etc.). In order to avoid the manufacturing of a prototype car for every configuration, there is the possibility to examine certain configurations on the existing test cars. These test cars are stored in different locations across Germany, and within one location, they are grouped. These groups are called FIPS Groups. A FIPS Group can contain one or several vehicles. With the help of a software, a user has the possibility to select from the FIPS Groups any desired group and order them according to their importance. For the ease of understanding, the FIPS Groups are represented by capital letters in this description (but not in the input and output!). For example, if a user selects 5 FIPS Groups [A, B, C, D, E], he will have the possibility to order the groups with the following (sort) operations:
An example explained:
Input Specification
The input begins with the comma-separated list of FIPS Groups in their initial succession.
Each FIPS Group is represented as a string of at most 10 characters. This is followed by a
minus sign (' Output SpecificationPrint in one line the order of groups after the required operations are performed as a comma-separated list of strings. Sample Input
Output for Sample Input
|
|||
University of Debrecen; Faculty of Informatics; v. 09/30/2024 |