#272. 字符串截头拼接

    ID: 272 Type: Default 1000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>codingbatString-1gesp3字符串

字符串截头拼接

Concatenate Strings (Omit First Character)

Background

In the early stages of learning programming, Congcong developed a strong interest in string operations. He wanted to explore how to perform some basic transformations and combinations on strings.

Problem Description

Given two strings, return their concatenation, except omit the first character of each. The strings will be at least length 11.

Input Format

Input is given from standard input in the following format.

s1 s2

Output Format

Output is printed to standard output in the following format.

result_string

Sample

Hello" "There
"ellohere"
java" "code
"avaode"
shotl" "java
"hotlava"

Sample Explanation

For Sample 1, the input strings are Hello and There. After omitting the first character, they become ello and here. Concatenating them results in ellohere.

Constraints

Time limit: 1 second, Memory limit: 1024 KiB for each test case.