-->
当前位置:首页 > 题库 > 正文内容

PROGRAMMING:Use the balance to find the ball

Luz4年前 (2021-05-10)题库432
The three balls a, B and C have the same size and shape, and one of them has a different weight from the other balls. Ask to find this different ball.
###Input format:
Input three positive integers in one line, corresponding to the weight of balls a, B and C in order.
###Output format:
Output the only different ball in a row.
###Input example:
```in
1 1 2
```
###Output example:
```out
C
```






answer:If there is no answer, please comment

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。