Description: There a total of three people have a garden, each household is required to help organize the garden wife. A wife worked for five days, Mrs. B will work four days before the garden after finishing. C because being pregnant wife can not join them, will be out 90 yuan. May I ask how the money given to A, B two wife is more appropriate? A number of dollars deserve? 90/(5+4)* 5 = $ 50 dollars? If you think you fooled! The correct answer is 60 yuan. If you thought it through, then think again. The following answer to a general question: Assume A wife worked x days, Mrs. B y days worked, C wife out of the 90 yuan, then A wife should get the number of dollars? Enter the wife should get guaranteed two non-negative integers dollars. Three Mrs. same efficiency. Tips: This question has a little trap, oh. If the answer is wrong, carefully check the bar code. Input of the first behavioral data set number T (T < = 20). Each set of data for one line only, contains three integers x, y, z (1 < =
To Search:
File list (Check if you may need any files):
Untitled5.c
Untitled5.exe
Untitled5.o