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

PROGRAMMING:4-5 postgraduate entrance examination

Luz5年前 (2021-05-10)题库437
There must be many students preparing for the postgraduate entrance examination in the future. Take a university in Hebei as an example, there are four subjects to be tested, namely: Mathematics (Full Score 150), English (full score 100), politics (full score 100), professional courses (Full Score 150). However, do you know the characteristics of the postgraduate entrance examination score line - not only the total score line, but also the single subject line! Suppose that in a certain year, the score line of postgraduate admission is as follows: the score line of mathematics and professional courses is 85 (inclusive), the score line of English and politics is 55 (inclusive), and the total score line is 305 (inclusive), Now I'll tell you the scores of some candidates. Can you judge their admission?.
###Input format:
The input data represents the candidates' scores in the postgraduate entrance examination. A line of four integers represents the candidates' scores in mathematics, English, politics and professional courses, separated by spaces.
###Output format:
Output the admission of candidates, a means public students, B means self funded students, C means not admitted.
###Input sample 1:
Here is a set of inputs. For example:
```in
100 80 85 120
```
###Output sample 1:
The corresponding output is given here. For example:
```out
A
```
###Input sample 2:
Here is a set of inputs. For example:
```in
90 60 65 110
```
###Output sample 2:
The corresponding output is given here. For example:
```out
B
```
###Input sample 3:
Here is a set of inputs. For example:
```in
140 50 75 135
```
###Output sample 3:
The corresponding output is given here. For example:
```out
C
```







answer:If there is no answer, please comment