#P6745. 『MdOI R3』Number
『MdOI R3』Number
Problem Description
In real life, we sometimes encounter some special numbers. If we write them in a special form, they become easier to remember and use. For example, is very common. Compared with , it is easier for contestants to read without counting the 's, and it avoids the precision loss of scientific notation.
Now you are given a number of the form . Please convert it back to the usual written form.
Input Format
One line with two integers .
Output Format
Output one integer on one line, which is .
9 7
1000000007
Hint
[Sample Explanation].
.
For more samples, please get them here.
[Constraints].
This problem uses bundled tests. In other words, you can only get the score for a subtask if you pass all test points in that subtask.
| Subtask ID | Special Property | Score | ||
|---|---|---|---|---|
| 1 | 12 | |||
| 2 | 15 | |||
| 3 | 8 | |||
| 4 | 25 | |||
| 5 | 40 |
For all testdata, , .
Translated by ChatGPT 5