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

PROGRAMMING:Find the last 250

Luz5年前 (2021-05-10)题库365
The other person doesn't want to talk to you and throws a string of numbers at you... And you have to find the touching number "250" in this string of numbers.
###Input format:
Input the number of integers whose absolute value does not exceed 1000 in one line.
###Output format:
Output the last "250" in a line, which is the number thrown by the other party (counting starts from 1). If the number "250" does not appear, the output is 0.
###Input example:
Here is a set of inputs. For example:
```in
888 666 123 -233 250 13 250 -222
```
###Output example:
The corresponding output is given here. For example:
```out
seven
```







answer:If there is no answer, please comment