Type: Default 1000ms 256MiB

查找数

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

在一个有n个数的数组中,查找是否存在数x,如果存在则输出这个数,不存在输出'no'

输入:

第一行为n,第二行为n(1n1001\le n \le 100)个数,第三行为x

输出:

存在输出这个数,不存在输出'no'

5
1 2 3 4 5
4
4

精英班-Day04作业

Not Claimed
Status
Done
Problem
12
Open Since
2024-7-23 0:00
Deadline
2024-7-24 23:59
Extension
24 hour(s)