#892. [基础]拆分字符串
[基础]拆分字符串
No submission language available for this problem.
Background
Special for beginners, ^_^
Description
输入一个邮箱,结构为 "email_name@number.com"
要求以 @ 符号将邮箱拆成登入名和非登入名这两个部分。并以要求格式输出。
例:
邮箱为:example@126.com
输出内容为:
第一行:example
第二行:126.com
Format
Input
一行标准格式的邮箱地址
Output
输出有两行
第一行输出登入名部分
第二行输出非登入名部分
Samples
example@126.com
example
126.com
hello_email@qq.com
hello_email
qq.com
Limitation
1s, 1024KiB for each test case.