Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <iomanip>
- #include <algorithm>
- #include <cmath>
- using namespace std;
- int main() {
- int n, array[100];
- cin >> n;
- for (int i = 0; i < n; i++)
- if ((array[i] == 2) && (array[i] == 5)) {
- cout << "YES";
- break;
- }
- else {
- cout << "NO";
- break;
- }
- system("pause");
- return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement