Language: C++

#include<cstdio>
#include<>
using namespace std;
int main(){
   int x, y;
   cin >> x >> y;
   set<int>s1, s2, s3;
   int a[] = {1, 3, 4, 7, 8, 10, 12}, b[] = {4, 6, 9, 11}, c[] = {2};
   for(int i = 0; i<strlen(a); ++i)s1.insert(a[i]);
   for(int i = 0; i<strlen(b); ++i)s1.insert(b[i]);
   for(int i = 0; i<strlen(c); ++i)s1.insert(c[i]);
   if(s1.count(x) && s1.count(y) || s2.count(x) && s2.count(y) || s3.count(x) && s3.count(y))
       cout << "Yes"<< endl;
   else cout << "No" << endl;
   return 0;
}

Compiler output:
a.cc:2:9: error: empty filename in #include
    2 | #include<>
      |         ^~
a.cc: In function 'int main()':
a.cc:6:4: error: 'cin' was not declared in this scope
    6 |    cin >> x >> y;
      |    ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include<cstdio>
  +++ |+#include <iostream>
    2 | #include<>
a.cc:7:4: error: 'set' was not declared in this scope
    7 |    set<int>s1, s2, s3;
      |    ^~~
a.cc:2:1: note: 'std::set' is defined in header '<set>'; this is probably fixable by adding '#include <set>'
    1 | #include<cstdio>
  +++ |+#include <set>
    2 | #include<>
a.cc:7:8: error: expected primary-expression before 'int'
    7 |    set<int>s1, s2, s3;
      |        ^~~
a.cc:9:21: error: 'strlen' was not declared in this scope
    9 |    for(int i = 0; i<strlen(a); ++i)s1.insert(a[i]);
      |                     ^~~~~~
a.cc:2:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    1 | #include<cstdio>
  +++ |+#include <cstring>
    2 | #include<>
a.cc:9:36: error: 's1' was not declared in this scope
    9 |    for(int i = 0; i<strlen(a); ++i)s1.insert(a[i]);
      |                                    ^~
a.cc:10:21: error: 'strlen' was not declared in this scope
   10 |    for(int i = 0; i<strlen(b); ++i)s1.insert(b[i]);
      |                     ^~~~~~
a.cc:10:21: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
a.cc:10:36: error: 's1' was not declared in this scope
   10 |    for(int i = 0; i<strlen(b); ++i)s1.insert(b[i]);
      |                                    ^~
a.cc:11:21: error: 'strlen' was not declared in this scope
   11 |    for(int i = 0; i<strlen(c); ++i)s1.insert(c[i]);
      |                     ^~~~~~
a.cc:11:21: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
a.cc:11:36: error: 's1' was not declared in this scope
   11 |    for(int i = 0; i<strlen(c); ++i)s1.insert(c[i]);
      |                                    ^~
a.cc:12:7: error: 's1' was not declared in this scope
   12 |    if(s1.count(x) && s1.count(y) || s2.count(x) && s2.count(y) || s3.count(x) && s3.count(y))
      |       ^~
a.cc:12:37: error: 's2' was not declared in this scope
   12 |    if(s1.count(x) && s1.count(y) || s2.count(x) && s2.count(y) || s3.count(x) && s3.count(y))
      |                                     ^~
a.cc:12:67: error: 's3' was not declared in this scope
   12 |    if(s1.count(x) && s1.count(y) || s2.count(x) && s2.count(y) || s3.count(x) && s3.count(y))
      |                                                                   ^~
a.cc:13:8: error: 'cout' was not declared in this scope
   13 |        cout << "Yes"<< endl;
      |        ^~~~
a.cc:13:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:13:24: error: 'endl' was not declared in this scope
   13 |        cout << "Yes"<< endl;
      |                        ^~~~
a.cc:2:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    1 | #include<cstdio>
  +++ |+#include <ostream>
    2 | #include<>
a.cc:14:9: error: 'cout' was not declared in this scope
   14 |    else cout << "No" << endl;
      |         ^~~~
a.cc:14:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:14:25: error: 'endl' was not declared in this scope
   14 |    else cout << "No" << endl;
      |                         ^~~~
a.cc:14:25: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'