TopCoder

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

User's AC Ratio

80.0% (4/5)

Submission's AC Ratio

75.0% (6/8)

Description

Input Format

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

Output Format

輸出一個字串。

Sample Input

#Sample Input 1
Hey
#Sample Input 2
OK?
#Sample Input 3
abcdefghijklmno
#Sample Input 4
( )

Sample Output

#Sample Output 1
+>>>+>>+>>>+++>>>++>>+++>>+[<]>>>>>.>>>>>>.>>>>>>.
#Sample Output 2
->>>>>>+<<<<.>>-<<.>>+<<<<.
#Sample Output 3
+<<<<-<<<<+[->>>>->>>-<<<<<<<+.>>>>+>>>+<<<<<<<+]
#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 (KiB) Output Limit (KiB) Subtasks
0 1500 262144 10000 1 2 3
1 1500 262144 10000 2 3
2 1500 262144 10000 3