Language: C

#include<stdio.h>

int main()
{
    int a,b,i, s[13]=={1,2,3,4,5,6,7,8,9,10,11,12,13}; 
        h[13]=={1,2,3,4,5,6,7,8,9,10,11,12,13};
        c[13]== {1,2,3,4,5,6,7,8,9,10,11,12,13};
        d[13] == {1,2,3,4,5,6,7,8,9,10,11,12,13};
    char s;

    scanf("%d", &a);
    for(;i <= a;){

        scanf("%c%d", &s,&b);
        if (s =='S') s[b] = 0;
        if (s =='H') h[b] = 0;
        if (s =='C') c[b] = 0;
        if (s =='D') d[b] = 0;
    }
    for(i=1; i<=13,i++){
	if(s[i] != 0)printf("S %d\n",s[i]);}
    for(i=1; i<=13,i++){
	if(h[i] != 0)printf("H %d\n",h[i]);}
    for(i=1; i<=13,i++){
	if(s[i] != 0)printf("C %d\n",c[i]);}
    for(i=1; i<=13,i++){
	if(s[i] != 0)printf("D %d\n",d[i]);}

    return 0;
}



Compiler output:
main.c: In function 'main':
main.c:5:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before '==' token
    5 |     int a,b,i, s[13]=={1,2,3,4,5,6,7,8,9,10,11,12,13};
      |                     ^~
main.c:6:9: error: 'h' undeclared (first use in this function)
    6 |         h[13]=={1,2,3,4,5,6,7,8,9,10,11,12,13};
      |         ^
main.c:6:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:16: error: expected expression before '{' token
    6 |         h[13]=={1,2,3,4,5,6,7,8,9,10,11,12,13};
      |                ^
main.c:7:9: error: 'c' undeclared (first use in this function)
    7 |         c[13]== {1,2,3,4,5,6,7,8,9,10,11,12,13};
      |         ^
main.c:7:17: error: expected expression before '{' token
    7 |         c[13]== {1,2,3,4,5,6,7,8,9,10,11,12,13};
      |                 ^
main.c:8:9: error: 'd' undeclared (first use in this function)
    8 |         d[13] == {1,2,3,4,5,6,7,8,9,10,11,12,13};
      |         ^
main.c:8:18: error: expected expression before '{' token
    8 |         d[13] == {1,2,3,4,5,6,7,8,9,10,11,12,13};
      |                  ^
main.c:15:23: error: subscripted value is neither array nor pointer nor vector
   15 |         if (s =='S') s[b] = 0;
      |                       ^
main.c:20:23: error: expected ';' before ')' token
   20 |     for(i=1; i<=13,i++){
      |                       ^
      |                       ;
main.c:21:13: error: subscripted value is neither array nor pointer nor vector
   21 |         if(s[i] != 0)printf("S %d\n",s[i]);}
      |             ^
main.c:21:39: error: subscripted value is neither array nor pointer nor vector
   21 |         if(s[i] != 0)printf("S %d\n",s[i]);}
      |                                       ^
main.c:22:23: error: expected ';' before ')' token
   22 |     for(i=1; i<=13,i++){
      |                       ^
      |                       ;
main.c:24:23: error: expected ';' before ')' token
   24 |     for(i=1; i<=13,i++){
      |                       ^
      |                       ;
main.c:25:13: error: subscripted value is neither array nor pointer nor vector
   25 |         if(s[i] != 0)printf("C %d\n",c[i]);}
      |             ^
main.c:26:23: error: expected ';' before ')' token
   26 |     for(i=1; i<=13,i++){
      |                       ^
      |                       ;
main.c:27:13: error: subscripted value is neither array nor pointer nor vector
   27 |         if(s[i] != 0)printf("D %d\n",d[i]);}
      |             ^