Home > Back-end > A great god, just learning C language of the new, made from an array, the trouble to explain the gre
A great god, just learning C language of the new, made from an array, the trouble to explain the gre
Time:06-09
Have a, BC, d, e, a total of 5 different ball, ready to respectively among a YiBingDing e five children, known children don't have a ball, children don't b ball, children without the ball, c c write a c language program for how many different kinds of method,
CodePudding user response:
Tell you a logically the simplest way, take five balls of the five people all listed, then remove the do not conform to the requirements of Give some tips on code, can use five figures show that the ball, in an array, and then an array said five people, through the array to the number of group assignment, if qualified, the species plus 1 It is not difficult to understand, also not bad