提交 ea5e47d3 编写于 作者: ToTensor's avatar ToTensor

send topic success

上级 f0b95a70
# 找x
题目描述
**题目描述**
输入一个数n,然后输入n个数值各不相同,再输入一个值x,输出这个值在这个数组中的下标(从0开始,若不在数组中则输出-1)。
输入
**输入**
测试数据有多组,输入n(1<=n<=200),接着输入n个数,然后输入x。
输出
**输出**
对于每组输入,请输出结果。
样例输入
**样例输入**
```json
4
1 2 3 4
3
样例输出
2
```
**样例输出**
```json
2
```
## template
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册