Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- long long u = -1;
- char a;
- string b;
- ////////////////////////////////////////////////////
- int main() //
- {
- cin >> a >> b;
- for(int i = 0; i <= 15; i++)
- {
- if(a == b[i])
- u++;
- }
- if(u > -1) cout << "Yes";
- else cout << "No";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement