B.鸡兔同笼
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
背景
L&ZSC002第二题
题目描述
kunkka让张锦程和李文硕解决一道难题:有一些鸡和一些兔子关在一个笼子里,有个头,只脚,问笼中有鸡和兔子各多少只?(kunkka居然不会一只一只数)
格式
输入
两个数和,分别为头和脚的数量。
输出
两个数,分别为鸡和兔子的数量。
样例
30 90
15 15
L&ZSC002(Lws&Zjc Story Contest002)(李文硕&张锦程故事竞赛002)
- Status
- Done
- Rule
- Ledo
- Problem
- 2
- Start at
- 2025-4-1 0:00
- End at
- 2025-7-1 0:00
- Duration
- 2184 hour(s)
- Host
- Partic.
- 11