```c #include <stdio.h> int main() { int n; scanf("%d", &n); while (n--) { int gender, height, weight; scanf("%d %d %d", &gender, &height, &weight); if (gender == 1) { if (height < 130) printf("duo chi yu!"); else if (height == 130) printf("wan mei!"); else printf("ni li hai!"); printf(" "); if (weight < 27) printf("duo chi rou!"); else if (weight == 27) printf("wan mei!"); else printf("shao chi rou!"); } else { if (height < 129) printf("duo chi yu!"); else if (height == 129) printf("wan mei!"); else printf("ni li hai!"); printf(" "); if (weight < 25) printf("duo chi rou!"); else if (weight == 25) printf("wan mei!"); else printf("shao chi rou!"); } printf("\n"); } return 0; } ``` [2024-10-31 11:19:21 | AI写代码神器 | 760点数解答]