10 characters

Given an input text of length 10, the task is to get another string res from the input by changing some characters. The res needs to have all the characters at the even indices of the input string. The odd indices need to have the following characters in the same order: >, =, <, $, &.
Input
Output
abcdefghij
a>c=e<g$i&
 

Constraints

Time limit: 2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue