kcal

AtCoder
IDabc205_a
Time2000ms
Memory256MB
Difficulty
We have a drink that has $A$ kilocalories of energy per $100$ milliliters. How many kilocalories of energy does $B$ milliliters of this drink have? ## Constraints * $0 \leq A, B \leq 1000$ * All values in input are integers. ## Input Input is given from Standard Input in the following format: $A$ $B$ [samples]
Samples
Input #1
45 200
Output #1
90

We have a drink that has $45$ kilocalories of energy per $100$ milliliters. $200$ milliliters of this drink has $90$ kilocalories of energy.
Input #2
37 450
Output #2
166.5

The answer may not be an integer.
Input #3
0 1000
Output #3
0
Input #4
50 0
Output #4
0
API Response (JSON)
{
  "problem": {
    "name": "kcal",
    "description": {
      "content": "We have a drink that has $A$ kilocalories of energy per $100$ milliliters. How many kilocalories of energy does $B$ milliliters of this drink have?",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc205_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "We have a drink that has $A$ kilocalories of energy per $100$ milliliters. How many kilocalories of energy does $B$ milliliters of this drink have?\n\n## Constraints\n\n*   $0 \\leq A, B \\leq 1000$\n*   All...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments