Multiplication 3

AtCoder
IDabc169_c
Time2000ms
Memory256MB
Difficulty
Compute $A \times B$, truncate its fractional part, and print the result as an integer. ## Constraints * $0 \leq A \leq 10^{15}$ * $0 \leq B < 10$ * $A$ is an integer. * $B$ is a number with two digits after the decimal point. ## Input Input is given from Standard Input in the following format: $A$ $B$ [samples]
Samples
Input #1
198 1.10
Output #1
217

We have $198 \times 1.10 = 217.8$. After truncating the fractional part, we have the answer: $217$.
Input #2
1 0.01
Output #2
0
Input #3
1000000000000000 9.99
Output #3
9990000000000000
API Response (JSON)
{
  "problem": {
    "name": "Multiplication 3",
    "description": {
      "content": "Compute $A \\times B$, truncate its fractional part, and print the result as an integer.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc169_c"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "Compute $A \\times B$, truncate its fractional part, and print the result as an integer.\n\n## Constraints\n\n*   $0 \\leq A \\leq 10^{15}$\n*   $0 \\leq B < 10$\n*   $A$ is an integer.\n*   $B$ is a number with...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments