两个吃奶一个添下面视频_人妻第一页香蕉网_欧美xxxx少妇_妺妺窝人体色www婷婷

1378 問題 N: C hicken and rabbit s

時間限制: 1s 內(nèi)存限制: 32MB 提交: 208 解決: 61
題目描述
Chicken and rabbits are in a same cage. As we all know, chicken has two legs but rabbit has four. Now
we know the number of legs in the cage is A, please tell me how many animals may in the cage at least
and at most.

輸入
The first line of the input contains the number of test cases in the file. Each test case that follows
consists of one lines. each case contains only one integer numbers A specifying the total legs in the
cage .

輸出

For each test case, print a line contains the answer

樣例輸入
2
3
20
樣例輸出
0 0
5 10
提示
零基礎(chǔ)同學(xué)可以先學(xué)習(xí)視頻課程,包含C/C++、Python、百練、藍(lán)橋杯輔導(dǎo)、算法數(shù)據(jù)結(jié)構(gòu)等課程,提供視頻講解以及配套習(xí)題,還有老師答疑,點擊這里了解課程詳情

比賽公告

第一屆C語言網(wǎng)馬拉松比賽!

參賽語言包含C\C++\java三種

祝大家取得好成績!