D. 【入门】 鸡兔同笼问题

    Type: Default 1000ms 16MiB

【入门】 鸡兔同笼问题

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.

题目描述

鸡兔同笼问题:一个笼子里面有鸡若干只,兔若干只。共有头50个,共有腿160条。求鸡兔各多少只?

输入

输出

输出两个整数,在一行。两个整数分别代表,鸡的只数,兔的只数且中间空格隔开!比如114 514

样例

第六届西南石油大学程序设计新生赛热身赛

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
4
Start at
2022-11-26 20:00
End at
2022-11-26 21:00
Duration
1 hour(s)
Host
Partic.
49