-->
当前位置:首页 > 题库

PROGRAMMING:Unqualified ball

Luz5年前 (2021-05-10)题库455
Xiao Ming helps his mother to inspect the unqualified balls. Generally, one of every four balls has abnormal weight. Please output the number of the ball with abnormal weight.
###Input format:
Enter four integers a, B, C, D separated by spaces (1 = < A, B, C, d < = 10000), representing the weight of the four balls a / B / C / D respectively
###Output format:
Output the number (A / B / C / D) and weight of the ball with abnormal weight, separated by a space
###Input example:
```in
2 2 3 2
```
###Output example:
```out
C 3
```






answer:If there is no answer, please comment