Language: C

#include <stdio.h>
int main(void){
  int i, j, n; //nは持っているトランプの枚数
  char mark;
  int num; //numは持っているトランプのランク（トランプ上の数字）
  char marks[4] = {‘S’, ‘H’, ‘C’, ‘D’};
  int cards[4][13] = {0};

  scanf(“%d”, &n);

  for(i = 1; i <= n; i++){
      scanf(“%c %d “, &mark, &num);
      for(j = 0; j < 4; j++){
          if(mark == marks[j]){
              cards[j][num - 1] = 1;
          }
      }
  }

  for(i = 0; i < 4; i++){
      for(j = 0; j < 13; j++){
          if(!cards[i][j]) printf(“%c %d\n”, marks[i], j + 1);
      }
  }
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:20: error: stray '\342' in program
    6 |   char marks[4] = {<U+2018>S<U+2019>, <U+2018>H<U+2019>, <U+2018>C<U+2019>, <U+2018>D<U+2019>};
      |                    ^~~~~~~~
main.c:6:22: error: stray '\342' in program
    6 |   char marks[4] = {<U+2018>S<U+2019>, <U+2018>H<U+2019>, <U+2018>C<U+2019>, <U+2018>D<U+2019>};
      |                             ^~~~~~~~
main.c:6:21: error: 'S' undeclared (first use in this function)
    6 |   char marks[4] = {‘S’, ‘H’, ‘C’, ‘D’};
      |                     ^
main.c:6:21: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:25: error: stray '\342' in program
    6 |   char marks[4] = {<U+2018>S<U+2019>, <U+2018>H<U+2019>, <U+2018>C<U+2019>, <U+2018>D<U+2019>};
      |                                       ^~~~~~~~
main.c:6:27: error: stray '\342' in program
    6 |   char marks[4] = {<U+2018>S<U+2019>, <U+2018>H<U+2019>, <U+2018>C<U+2019>, <U+2018>D<U+2019>};
      |                                                ^~~~~~~~
main.c:6:26: error: 'H' undeclared (first use in this function)
    6 |   char marks[4] = {‘S’, ‘H’, ‘C’, ‘D’};
      |                          ^
main.c:6:30: error: stray '\342' in program
    6 |   char marks[4] = {<U+2018>S<U+2019>, <U+2018>H<U+2019>, <U+2018>C<U+2019>, <U+2018>D<U+2019>};
      |                                                          ^~~~~~~~
main.c:6:32: error: stray '\342' in program
    6 |   char marks[4] = {<U+2018>S<U+2019>, <U+2018>H<U+2019>, <U+2018>C<U+2019>, <U+2018>D<U+2019>};
      |                                                                   ^~~~~~~~
main.c:6:31: error: 'C' undeclared (first use in this function)
    6 |   char marks[4] = {‘S’, ‘H’, ‘C’, ‘D’};
      |                               ^
main.c:6:35: error: stray '\342' in program
    6 |   char marks[4] = {<U+2018>S<U+2019>, <U+2018>H<U+2019>, <U+2018>C<U+2019>, <U+2018>D<U+2019>};
      |                                                                             ^~~~~~~~
main.c:6:37: error: stray '\342' in program
    6 |   char marks[4] = {<U+2018>S<U+2019>, <U+2018>H<U+2019>, <U+2018>C<U+2019>, <U+2018>D<U+2019>};
      |                                                                                      ^~~~~~~~
main.c:6:36: error: 'D' undeclared (first use in this function)
    6 |   char marks[4] = {‘S’, ‘H’, ‘C’, ‘D’};
      |                                    ^
main.c:9:9: error: stray '\342' in program
    9 |   scanf(<U+201C>%d<U+201D>, &n);
      |         ^~~~~~~~
main.c:9:10: error: expected expression before '%' token
    9 |   scanf(“%d”, &n);
      |          ^
main.c:9:12: error: stray '\342' in program
    9 |   scanf(<U+201C>%d<U+201D>, &n);
      |                   ^~~~~~~~
main.c:12:13: error: stray '\342' in program
   12 |       scanf(<U+201C>%c %d <U+201C>, &mark, &num);
      |             ^~~~~~~~
main.c:12:14: error: expected expression before '%' token
   12 |       scanf(“%c %d “, &mark, &num);
      |              ^
main.c:12:20: error: stray '\342' in program
   12 |       scanf(<U+201C>%c %d <U+201C>, &mark, &num);
      |                           ^~~~~~~~
main.c:22:35: error: stray '\342' in program
   22 |           if(!cards[i][j]) printf(<U+201C>%c %d\n<U+201D>, marks[i], j + 1);
      |                                   ^~~~~~~~
main.c:22:36: error: expected expression before '%' token
   22 |           if(!cards[i][j]) printf(“%c %d\n”, marks[i], j + 1);
      |                                    ^
main.c:22:41: error: stray '\' in program
   22 |           if(!cards[i][j]) printf(“%c %d\n”, marks[i], j + 1);
      |                                         ^
main.c:22:43: error: stray '\342' in program
   22 |           if(!cards[i][j]) printf(<U+201C>%c %d\n<U+201D>, marks[i], j + 1);
      |                                                  ^~~~~~~~