2760 - 2023GEC1506 - List Practice(Lab Practice) Scoreboard

Time

2024/03/18 13:13:00 2024/03/19 13:00:00

Clarification

# Problem Asker Description Reply Replier Reply Time For all team

# Problem Pass Rate (passed user / total user)
13455 List Practice

13455 - List Practice   

Description

Given a line of text, you need to parse it and perform some operations to fit the requirement.

Input

A line of text with the following syntax:

e1

e2

e3

...

where each row contains an element and there are multiple rows provided by the systems.

 

 

Output

After the input elements are obtained, you need to append the following elements to the original element list at the end:

  • Sky
  • Limit
  • Fly

 

Finally, connect the first three and last three elements from the entire element list and print it out.

Sample Input  Download

Sample Output  Download

Tags




Discuss