Language: C++

include<cstdio>
int main(){
    int n;
    int card[52]={0};
    scanf(“ %d”, &n);
    for(int i=1;i<=n;i++){
        char c;
        int a;
        scanf(“ %c %d”, &c, &a);
        if(c==‘S’) card[a]=1;
        else if(c==’H’) card[a+13]=1;
        else if(c==‘C’) card[a+26]=1;
        else if(c==‘D’) card[a+39]=1;
        
    }
    for(int i=1;i<=52;++i){
        if(card[i]==0){
            if(i<=13)printf(“S “);
            else if(i<=26)printf(“H “);
            else if(i<=39)printf(“C “);
            else if(i<=52)printf(“D “);
            
            printf(”%d\n”,i%13+1);
        }
        
        
    }
    return 0;
    
}


Compiler output:
a.cc:5:11: error: extended character “ is not valid in an identifier
    5 |     scanf(“ %d”, &n);
      |           ^
a.cc:5:14: error: extended character ” is not valid in an identifier
    5 |     scanf(“ %d”, &n);
      |              ^
a.cc:9:15: error: extended character “ is not valid in an identifier
    9 |         scanf(“ %c %d”, &c, &a);
      |               ^
a.cc:9:21: error: extended character ” is not valid in an identifier
    9 |         scanf(“ %c %d”, &c, &a);
      |                     ^
a.cc:10:15: error: extended character ‘ is not valid in an identifier
   10 |         if(c==‘S’) card[a]=1;
      |               ^
a.cc:10:15: error: extended character ’ is not valid in an identifier
a.cc:11:20: error: extended character ’ is not valid in an identifier
   11 |         else if(c==’H’) card[a+13]=1;
      |                    ^
a.cc:11:20: error: extended character ’ is not valid in an identifier
a.cc:12:20: error: extended character ‘ is not valid in an identifier
   12 |         else if(c==‘C’) card[a+26]=1;
      |                    ^
a.cc:12:20: error: extended character ’ is not valid in an identifier
a.cc:13:20: error: extended character ‘ is not valid in an identifier
   13 |         else if(c==‘D’) card[a+39]=1;
      |                    ^
a.cc:13:20: error: extended character ’ is not valid in an identifier
a.cc:18:29: error: extended character “ is not valid in an identifier
   18 |             if(i<=13)printf(“S “);
      |                             ^
a.cc:18:32: error: extended character “ is not valid in an identifier
   18 |             if(i<=13)printf(“S “);
      |                                ^
a.cc:19:34: error: extended character “ is not valid in an identifier
   19 |             else if(i<=26)printf(“H “);
      |                                  ^
a.cc:19:37: error: extended character “ is not valid in an identifier
   19 |             else if(i<=26)printf(“H “);
      |                                     ^
a.cc:20:34: error: extended character “ is not valid in an identifier
   20 |             else if(i<=39)printf(“C “);
      |                                  ^
a.cc:20:37: error: extended character “ is not valid in an identifier
   20 |             else if(i<=39)printf(“C “);
      |                                     ^
a.cc:21:34: error: extended character “ is not valid in an identifier
   21 |             else if(i<=52)printf(“D “);
      |                                  ^
a.cc:21:37: error: extended character “ is not valid in an identifier
   21 |             else if(i<=52)printf(“D “);
      |                                     ^
a.cc:23:20: error: extended character ” is not valid in an identifier
   23 |             printf(”%d\n”,i%13+1);
      |                    ^
a.cc:23:23: error: stray '\' in program
   23 |             printf(”%d\n”,i%13+1);
      |                       ^
a.cc:23:24: error: extended character ” is not valid in an identifier
   23 |             printf(”%d\n”,i%13+1);
      |                        ^
a.cc:1:1: error: 'include' does not name a type
    1 | include<cstdio>
      | ^~~~~~~