7891

巴克仕的神  •  1个月前


include <bits/stdc++.h> using namespace std;

int main() {

int a, b, c, ji = 0; cin >> a >> b; for (int i = 1; i <= a; i++) {

cin >> c; if (c == b) {

ji++;

} } if (ji >= 1) {

cout << "found"; } else {

cout << "not found"; } return 0; }


评论:

请先登录,才能进行评论