Language: C++

#include <iostream>
#include <vector>

using namespace std;

int32_t main()
{
  vector<uint32_t> group1{1,3,4,5,7,8,10,12};
  vecror<uint32_t> group2{4,6,9,11};
  vector<uint32_t> group3{2};

  uint32_t x, y;
  cin >> x >> y;

  uint32_t group_x, group_y;
  for(uint32_t i = 0; i < group1.size();i++){
    if(x == group1[i]) group_x = 1;
    if(y == group1[i]) group_y = 1;
  }

  for(uitn32_t i = 0; i < group2.size(); i++){
    if(x == group2[i]) group_x = 2;
    if(y == group2[i]) group_y = 2;
  }

  for(uint32_t i = 0; i < group3.size(); i++){
    if(x == group3[i]) group_x = 3;
    if(y == group3[i]) group_y = 3;
  }

  if(group_x == group_y){
    cout << 'Yes' << endl;
  } else {
    cout << 'No' << endl;
  }
  
  return 0;
}

Compiler output:
a.cc:32:13: warning: multi-character character constant [-Wmultichar]
   32 |     cout << 'Yes' << endl;
      |             ^~~~~
a.cc:34:13: warning: multi-character character constant [-Wmultichar]
   34 |     cout << 'No' << endl;
      |             ^~~~
a.cc: In function 'int32_t main()':
a.cc:8:10: error: 'uint32_t' was not declared in this scope
    8 |   vector<uint32_t> group1{1,3,4,5,7,8,10,12};
      |          ^~~~~~~~
a.cc:3:1: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
    2 | #include <vector>
  +++ |+#include <cstdint>
    3 | 
a.cc:8:18: error: template argument 1 is invalid
    8 |   vector<uint32_t> group1{1,3,4,5,7,8,10,12};
      |                  ^
a.cc:8:18: error: template argument 2 is invalid
a.cc:8:20: error: scalar object 'group1' requires one element in initializer
    8 |   vector<uint32_t> group1{1,3,4,5,7,8,10,12};
      |                    ^~~~~~
a.cc:9:3: error: 'vecror' was not declared in this scope; did you mean 'perror'?
    9 |   vecror<uint32_t> group2{4,6,9,11};
      |   ^~~~~~
      |   perror
a.cc:9:20: error: 'group2' was not declared in this scope
    9 |   vecror<uint32_t> group2{4,6,9,11};
      |                    ^~~~~~
a.cc:10:18: error: template argument 2 is invalid
   10 |   vector<uint32_t> group3{2};
      |                  ^
a.cc:12:11: error: expected ';' before 'x'
   12 |   uint32_t x, y;
      |           ^~
      |           ;
a.cc:13:10: error: 'x' was not declared in this scope
   13 |   cin >> x >> y;
      |          ^
a.cc:13:15: error: 'y' was not declared in this scope
   13 |   cin >> x >> y;
      |               ^
a.cc:15:11: error: expected ';' before 'group_x'
   15 |   uint32_t group_x, group_y;
      |           ^~~~~~~~
      |           ;
a.cc:16:15: error: expected ';' before 'i'
   16 |   for(uint32_t i = 0; i < group1.size();i++){
      |               ^~
      |               ;
a.cc:16:23: error: 'i' was not declared in this scope
   16 |   for(uint32_t i = 0; i < group1.size();i++){
      |                       ^
a.cc:17:24: error: 'group_x' was not declared in this scope; did you mean 'group3'?
   17 |     if(x == group1[i]) group_x = 1;
      |                        ^~~~~~~
      |                        group3
a.cc:18:24: error: 'group_y' was not declared in this scope; did you mean 'group3'?
   18 |     if(y == group1[i]) group_y = 1;
      |                        ^~~~~~~
      |                        group3
a.cc:21:7: error: 'uitn32_t' was not declared in this scope; did you mean 'u_int32_t'?
   21 |   for(uitn32_t i = 0; i < group2.size(); i++){
      |       ^~~~~~~~
      |       u_int32_t
a.cc:21:23: error: 'i' was not declared in this scope
   21 |   for(uitn32_t i = 0; i < group2.size(); i++){
      |                       ^
a.cc:22:24: error: 'group_x' was not declared in this scope; did you mean 'group3'?
   22 |     if(x == group2[i]) group_x = 2;
      |                        ^~~~~~~
      |                        group3
a.cc:23:24: error: 'group_y' was not declared in this scope; did you mean 'group3'?
   23 |     if(y == group2[i]) group_y = 2;
      |                        ^~~~~~~
      |                        group3
a.cc:26:15: error: expected ';' before 'i'
   26 |   for(uint32_t i = 0; i < group3.size(); i++){
      |               ^~
      |               ;
a.cc:26:23: error: 'i' was not declared in this scope
   26 |   for(uint32_t i = 0; i < group3.size(); i++){
      |                       ^
a.cc:26:34: error: request for member 'size' in 'group3', which is of non-class type 'int'
   26 |   for(uint32_t i = 0; i < group3.size(); i++){
      |                                  ^~~~
a.cc:27:24: error: 'group_x' was not declared in this scope; did you mean 'group3'?
   27 |     if(x == group3[i]) group_x = 3;
      |                        ^~~~~~~
      |                        group3
a.cc:28:24: error: 'group_y' was not declared in this scope; did you mean 'group3'?
   28 |     if(y == group3[i]) group_y = 3;
      |                        ^~~~~~~
      |                        group3
a.cc:31:6: error: 'group_x' was not declared in this scope; did you mean 'group3'?
   31 |   if(group_x == group_y){
      |      ^~~~~~~
      |      group3
a.cc:31:17: error: 'group_y' was not declared in this scope; did you mean 'group3'?
   31 |   if(group_x == group_y){
      |                 ^~~~~~~
      |                 group3