题库练习 Command Line Arguments
← 上一题 下一题 →

A8883 | Command Line Arguments

时间限制1s
内存限制256MB
通过 / 提交0/0

题目描述

The single line contains a non-empty string $s$ . String $s$ consists of at most $10^{5}$ characters. Each character is either an uppercase or a lowercase English letter, or a digit, or one of the ".,?!"" signs, or a space.

It is guaranteed that the given string is some correct command line string of the OS Pindows. It is guaranteed that the given command line string contains at least one lexeme.

输入格式

In the first line print the first lexeme, in the second line print the second one and so on. To make the output clearer, print the "<" (less) character to the left of your lexemes and the ">" (more) character to the right. Print the lexemes in the order in which they occur in the command.

Please, follow the given output format strictly. For more clarifications on the output format see the test samples.

输出格式

无

输入输出样例

输入 #1
[{"input": ""RUn.exe O" "" " 2ne, " two! . " "", "output": "<RUn.exe O>\n<>\n< 2ne, >\n<two!>\n<.>\n< >"}, {"input": " firstarg second "" ", "output": "<firstarg>\n<second>\n<>"}]
输出 #1

                            
C++ 编辑器
输入
输出