【深基1.例2】简单的分苹果

Luogu
IDLGB2600
Time1000ms
Memory512MB
DifficultyP1
这里有 $10$ 个苹果,小 A 拿走了 $2$ 个,Uim 拿走了 $4$ 个,八尾勇拿走剩下的所有的苹果。我们想知道: 1. 小A 和 Uim 两个人一共拿走多少苹果? 2. 八尾勇能拿走多少苹果? 现在需要编写一个程序,输出两个数字作为答案,中间使用空格分开。 ## Input 不需要输入。 ## Output 输出两个数字作为答案,中间使用空格分开。 [samples] ## Background **本题来自洛谷编写教材《深入浅出程序设计竞赛 - 基础篇》**,并带有详细的教程和讲解,点击下列链接了解本书详情。[【官方网店绝赞热卖中!】>>>](https://item.taobao.com/item.htm?id=637730514783)
API Response (JSON)
{
  "problem": {
    "name": "【深基1.例2】简单的分苹果",
    "description": {
      "content": "这里有 $10$ 个苹果,小 A 拿走了 $2$ 个,Uim 拿走了 $4$ 个,八尾勇拿走剩下的所有的苹果。我们想知道: 1. 小A 和 Uim 两个人一共拿走多少苹果? 2. 八尾勇能拿走多少苹果? 现在需要编写一个程序,输出两个数字作为答案,中间使用空格分开。",
      "description_type": "Markdown"
    },
    "platform": "Luogu",
    "limit": {
      "time_limit": 1000,
      "memory_limit": 524288
    },
    "difficulty": {
      "LuoguStyle": "P1"
    },
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "LGB2600"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "这里有 $10$ 个苹果,小 A 拿走了 $2$ 个,Uim 拿走了 $4$ 个,八尾勇拿走剩下的所有的苹果。我们想知道:\n\n1. 小A 和 Uim 两个人一共拿走多少苹果?\n2. 八尾勇能拿走多少苹果?\n\n现在需要编写一个程序,输出两个数字作为答案,中间使用空格分开。\n\n## Input\n\n不需要输入。\n\n## Output\n\n输出两个数字作为答案,中间使用空格分开。\n\n[samples]\n\n#...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments