TopCoder

Adrien Wu
$ \begin{align} AC \times 2^9 \\ \text{New TIOJ ?} \end{align} $

User's AC Ratio

88.9% (8/9)

Submission's AC Ratio

60.0% (12/20)

Tags

Description

Input Format

輸入只有一行,包含一個由ASCII可視字元組成且長度不超過$10^ 4$的字串。

Output Format

輸出一個字串。

Sample Input 1

Hey

Sample Output 1

+>>>+>>+>>>+++>>>++>>+++>>+[<]>>>>>.>>>>>>.>>>>>>.

Sample Input 2

OK?

Sample Output 2

->>>>>>+<<<<.>>-<<.>>+<<<<.

Sample Input 3

abcdefghijklmno

Sample Output 3

+<<<<-<<<<+[->>>>->>>-<<<<<<<+.>>>>+>>>+<<<<<<<+]

Sample Input 4

( )

Sample Output 4

>>>+>>+<<<<<.>>>-<<<.+>>>+<<<.

Hints

Problem Source

TIOJ第一屆愚人節比賽:pI

Subtasks

No. Testdata Range Score
1 0 56
2 0~1 32
3 0~2 13

Testdata and Limits

No. Time Limit (ms) Memory Limit (VSS, KiB) Output Limit (KiB) Subtasks
0 1500 262144 10000 1 2 3
1 1500 262144 10000 2 3
2 1500 262144 10000 3