1354 - n元买m鸡
Time Limit : 1 秒
Memory Limit : 128 MB
<span style="font-family:黑体;font-size:12pt;">一个炊事员上街采购<span>,</span>用<span>n</span>元钱买了<span>m</span>只鸡<span>, </span>其中母鸡一只<span>15</span>元<span>,</span>公鸡一只<span>10</span>元<span>,</span>小鸡一只<span>5</span>元<span>,</span>正好把钱买完。问母鸡<span>a</span>、公鸡<span>b</span>、小鸡<span>c</span>各买多少只? <span></span></span>
<span style="font-family:黑体;font-size:12pt;">输入<span>500 90</span></span>
<span style="font-family:黑体;font-size:12pt;">输出<span></span></span>
<span style="font-family:黑体;font-size:12pt;">mu:1<span> </span>gong:8<span> </span>xiao:81</span>
<span style="font-family:黑体;font-size:12pt;"></span><span style="font-family:黑体;font-size:12pt;"></span><span style="font-family:黑体;font-size:12pt;">mu:2<span> </span>gong:6<span> </span>xiao:82</span>
<span style="font-family:黑体;font-size:12pt;">mu:3<span> </span>gong:4 xiao:83</span>
<span style="font-family:黑体;font-size:12pt;"></span><span style="font-family:黑体;font-size:12pt;">mu:4<span> </span>gong:2<span> </span>xiao:84</span>
Input
Output
Examples
Input
Output
Source
四年级题目-双重循环练习题