002. Triple Product

Codeforces
IDCF10269002
Time1000ms
Memory256MB
Difficulty
English · Original
Formal · Original
Basic math operations are very important in programming applications. In this problem, your task is to calculate the product of two integers, multiplied by three. The first line of input contains a positive integer _a_ no greater than 2000. The second line of input contains a positive integer _b_ no greater than 2000. Print a single positive integer _c_: the product of _a_ and _b_ multiplied by 3. ## Input The first line of input contains a positive integer _a_ no greater than 2000. The second line of input contains a positive integer _b_ no greater than 2000. ## Output Print a single positive integer _c_: the product of _a_ and _b_ multiplied by 3. [samples]
**Definitions** Let $ a, b \in \mathbb{Z}^+ $ be two positive integers. **Constraints** 1. $ 1 \le a \le 2000 $ 2. $ 1 \le b \le 2000 $ **Objective** Compute $ c = 3 \cdot a \cdot b $.
API Response (JSON)
{
  "problem": {
    "name": "002. Triple Product",
    "description": {
      "content": "Basic math operations are very important in programming applications. In this problem, your task is to calculate the product of two integers, multiplied by three. The first line of input contains a p",
      "description_type": "Markdown"
    },
    "platform": "Codeforces",
    "limit": {
      "time_limit": 1000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "CF10269002"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "Basic math operations are very important in programming applications. In this problem, your task is to calculate the product of two integers, multiplied by three.\n\nThe first line of input contains a p...",
      "is_translate": false,
      "language": "English"
    },
    {
      "statement_type": "Markdown",
      "content": "**Definitions**  \nLet $ a, b \\in \\mathbb{Z}^+ $ be two positive integers.\n\n**Constraints**  \n1. $ 1 \\le a \\le 2000 $  \n2. $ 1 \\le b \\le 2000 $\n\n**Objective**  \nCompute $ c = 3 \\cdot a \\cdot b $....",
      "is_translate": false,
      "language": "Formal"
    }
  ]
}
Full JSON Raw Segments