Language: C++

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

int main(){
           int n;
           cin>>n;
           int a[4][13];
           for(int x=0;x<n;x++){
           string str;
           int number;
           cin>>str>>number;
    
           if(str==“S”) a[0][number-1] = 1;
           if(str==“H”) a[1][number-1] = 1;
           if(str==“C”) a[2][number-1] = 1;
           if(str==“D”) a[3][number-1] = 1;
           }
        
           string str2[4] = {“S”,”H”,”C”,”D”};
           for(int i=0;i<4;i++){
                for(int j=0;j<13;j++){
                    if(a[i][j] == 1) continue;
                    cout<<str2[i]<<“ “<<j+1<<endl;
           }
     return 0;
}


Compiler output:
a.cc:13:20: error: extended character “ is not valid in an identifier
   13 |            if(str==“S”) a[0][number-1] = 1;
      |                    ^
a.cc:13:20: error: extended character ” is not valid in an identifier
a.cc:14:20: error: extended character “ is not valid in an identifier
   14 |            if(str==“H”) a[1][number-1] = 1;
      |                    ^
a.cc:14:20: error: extended character ” is not valid in an identifier
a.cc:15:20: error: extended character “ is not valid in an identifier
   15 |            if(str==“C”) a[2][number-1] = 1;
      |                    ^
a.cc:15:20: error: extended character ” is not valid in an identifier
a.cc:16:20: error: extended character “ is not valid in an identifier
   16 |            if(str==“D”) a[3][number-1] = 1;
      |                    ^
a.cc:16:20: error: extended character ” is not valid in an identifier
a.cc:19:30: error: extended character “ is not valid in an identifier
   19 |            string str2[4] = {“S”,”H”,”C”,”D”};
      |                              ^
a.cc:19:30: error: extended character ” is not valid in an identifier
a.cc:19:34: error: extended character ” is not valid in an identifier
   19 |            string str2[4] = {“S”,”H”,”C”,”D”};
      |                                  ^
a.cc:19:34: error: extended character ” is not valid in an identifier
a.cc:19:38: error: extended character ” is not valid in an identifier
   19 |            string str2[4] = {“S”,”H”,”C”,”D”};
      |                                      ^
a.cc:19:38: error: extended character ” is not valid in an identifier
a.cc:19:42: error: extended character ” is not valid in an identifier
   19 |            string str2[4] = {“S”,”H”,”C”,”D”};
      |                                          ^
a.cc:19:42: error: extended character ” is not valid in an identifier
a.cc:23:36: error: extended character “ is not valid in an identifier
   23 |                     cout<<str2[i]<<“ “<<j+1<<endl;
      |                                    ^
a.cc:23:38: error: extended character “ is not valid in an identifier
   23 |                     cout<<str2[i]<<“ “<<j+1<<endl;
      |                                      ^
a.cc: In function 'int main()':
a.cc:13:20: error: '\U0000201cS\U0000201d' was not declared in this scope
   13 |            if(str==“S”) a[0][number-1] = 1;
      |                    ^~~
a.cc:14:20: error: '\U0000201cH\U0000201d' was not declared in this scope
   14 |            if(str==“H”) a[1][number-1] = 1;
      |                    ^~~
a.cc:15:20: error: '\U0000201cC\U0000201d' was not declared in this scope
   15 |            if(str==“C”) a[2][number-1] = 1;
      |                    ^~~
a.cc:16:20: error: '\U0000201cD\U0000201d' was not declared in this scope
   16 |            if(str==“D”) a[3][number-1] = 1;
      |                    ^~~
a.cc:19:30: error: '\U0000201cS\U0000201d' was not declared in this scope
   19 |            string str2[4] = {“S”,”H”,”C”,”D”};
      |                              ^~~
a.cc:19:34: error: '\U0000201dH\U0000201d' was not declared in this scope
   19 |            string str2[4] = {“S”,”H”,”C”,”D”};
      |                                  ^~~
a.cc:19:38: error: '\U0000201dC\U0000201d' was not declared in this scope
   19 |            string str2[4] = {“S”,”H”,”C”,”D”};
      |                                      ^~~
a.cc:19:42: error: '\U0000201dD\U0000201d' was not declared in this scope
   19 |            string str2[4] = {“S”,”H”,”C”,”D”};
      |                                          ^~~
a.cc:23:36: error: '\U0000201c' was not declared in this scope
   23 |                     cout<<str2[i]<<“ “<<j+1<<endl;
      |                                    ^
a.cc:26:2: error: expected '}' at end of input
   26 | }
      |  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^