Language: C

#include<stdio.h>

int main(){

int i,n,j,k,l;

char s;

int cards[4][13]={{0}};

scanf(“%d”,&n);

　for(l=1;l<=n;l++){

　　scanf(” %c %d”,&s,&k);

　　　switch(s){

　　　　case ‘S’:

　　　　cards[0][k-1]=1;

　　　　break;

　　　　case ‘H’:

　　　　cards[1][k-1]=1;

　　　　break;

　　　　case ‘C’:

　　　　cards[2][k-1]=1;

　　　　break;

　　　　case ‘D’:

　　　　cards[3][k-1]=1;

　　　　break;

　　　}

　　}


Compiler output:
main.c: In function 'main':
main.c:11:7: error: stray '\342' in program
   11 | scanf(<U+201C>%d<U+201D>,&n);
      |       ^~~~~~~~
main.c:11:8: error: expected expression before '%' token
   11 | scanf(“%d”,&n);
      |        ^
main.c:11:10: error: stray '\342' in program
   11 | scanf(<U+201C>%d<U+201D>,&n);
      |                 ^~~~~~~~
main.c:13:1: error: stray '\343' in program
   13 | <U+3000>for(l=1;l<=n;l++){
      | ^~~~~~~~
main.c:15:1: error: stray '\343' in program
   15 | <U+3000><U+3000>scanf(<U+201D> %c %d<U+201D>,&s,&k);
      | ^~~~~~~~
main.c:15:3: error: stray '\343' in program
   15 | <U+3000><U+3000>scanf(<U+201D> %c %d<U+201D>,&s,&k);
      |         ^~~~~~~~
main.c:15:11: error: stray '\342' in program
   15 | <U+3000><U+3000>scanf(<U+201D> %c %d<U+201D>,&s,&k);
      |                       ^~~~~~~~
main.c:15:13: error: expected expression before '%' token
   15 | 　　scanf(” %c %d”,&s,&k);
      |             ^
main.c:15:18: error: stray '\342' in program
   15 | <U+3000><U+3000>scanf(<U+201D> %c %d<U+201D>,&s,&k);
      |                                     ^~~~~~~~
main.c:17:1: error: stray '\343' in program
   17 | <U+3000><U+3000><U+3000>switch(s){
      | ^~~~~~~~
main.c:17:3: error: stray '\343' in program
   17 | <U+3000><U+3000><U+3000>switch(s){
      |         ^~~~~~~~
main.c:17:5: error: stray '\343' in program
   17 | <U+3000><U+3000><U+3000>switch(s){
      |                 ^~~~~~~~
main.c:19:1: error: stray '\343' in program
   19 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>S<U+2019>:
      | ^~~~~~~~
main.c:19:3: error: stray '\343' in program
   19 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>S<U+2019>:
      |         ^~~~~~~~
main.c:19:5: error: stray '\343' in program
   19 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>S<U+2019>:
      |                 ^~~~~~~~
main.c:19:7: error: stray '\343' in program
   19 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>S<U+2019>:
      |                         ^~~~~~~~
main.c:19:14: error: stray '\342' in program
   19 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>S<U+2019>:
      |                                      ^~~~~~~~
main.c:19:16: error: stray '\342' in program
   19 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>S<U+2019>:
      |                                               ^~~~~~~~
main.c:19:15: error: 'S' undeclared (first use in this function)
   19 | 　　　　case ‘S’:
      |               ^
main.c:19:15: note: each undeclared identifier is reported only once for each function it appears in
main.c:21:1: error: stray '\343' in program
   21 | <U+3000><U+3000><U+3000><U+3000>cards[0][k-1]=1;
      | ^~~~~~~~
main.c:21:3: error: stray '\343' in program
   21 | <U+3000><U+3000><U+3000><U+3000>cards[0][k-1]=1;
      |         ^~~~~~~~
main.c:21:5: error: stray '\343' in program
   21 | <U+3000><U+3000><U+3000><U+3000>cards[0][k-1]=1;
      |                 ^~~~~~~~
main.c:21:7: error: stray '\343' in program
   21 | <U+3000><U+3000><U+3000><U+3000>cards[0][k-1]=1;
      |                         ^~~~~~~~
main.c:23:1: error: stray '\343' in program
   23 | <U+3000><U+3000><U+3000><U+3000>break;
      | ^~~~~~~~
main.c:23:3: error: stray '\343' in program
   23 | <U+3000><U+3000><U+3000><U+3000>break;
      |         ^~~~~~~~
main.c:23:5: error: stray '\343' in program
   23 | <U+3000><U+3000><U+3000><U+3000>break;
      |                 ^~~~~~~~
main.c:23:7: error: stray '\343' in program
   23 | <U+3000><U+3000><U+3000><U+3000>break;
      |                         ^~~~~~~~
main.c:25:1: error: stray '\343' in program
   25 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>H<U+2019>:
      | ^~~~~~~~
main.c:25:3: error: stray '\343' in program
   25 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>H<U+2019>:
      |         ^~~~~~~~
main.c:25:5: error: stray '\343' in program
   25 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>H<U+2019>:
      |                 ^~~~~~~~
main.c:25:7: error: stray '\343' in program
   25 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>H<U+2019>:
      |                         ^~~~~~~~
main.c:25:14: error: stray '\342' in program
   25 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>H<U+2019>:
      |                                      ^~~~~~~~
main.c:25:16: error: stray '\342' in program
   25 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>H<U+2019>:
      |                                               ^~~~~~~~
main.c:25:15: error: 'H' undeclared (first use in this function)
   25 | 　　　　case ‘H’:
      |               ^
main.c:27:1: error: stray '\343' in program
   27 | <U+3000><U+3000><U+3000><U+3000>cards[1][k-1]=1;
      | ^~~~~~~~
main.c:27:3: error: stray '\343' in program
   27 | <U+3000><U+3000><U+3000><U+3000>cards[1][k-1]=1;
      |         ^~~~~~~~
main.c:27:5: error: stray '\343' in program
   27 | <U+3000><U+3000><U+3000><U+3000>cards[1][k-1]=1;
      |                 ^~~~~~~~
main.c:27:7: error: stray '\343' in program
   27 | <U+3000><U+3000><U+3000><U+3000>cards[1][k-1]=1;
      |                         ^~~~~~~~
main.c:29:1: error: stray '\343' in program
   29 | <U+3000><U+3000><U+3000><U+3000>break;
      | ^~~~~~~~
main.c:29:3: error: stray '\343' in program
   29 | <U+3000><U+3000><U+3000><U+3000>break;
      |         ^~~~~~~~
main.c:29:5: error: stray '\343' in program
   29 | <U+3000><U+3000><U+3000><U+3000>break;
      |                 ^~~~~~~~
main.c:29:7: error: stray '\343' in program
   29 | <U+3000><U+3000><U+3000><U+3000>break;
      |                         ^~~~~~~~
main.c:31:1: error: stray '\343' in program
   31 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>C<U+2019>:
      | ^~~~~~~~
main.c:31:3: error: stray '\343' in program
   31 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>C<U+2019>:
      |         ^~~~~~~~
main.c:31:5: error: stray '\343' in program
   31 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>C<U+2019>:
      |                 ^~~~~~~~
main.c:31:7: error: stray '\343' in program
   31 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>C<U+2019>:
      |                         ^~~~~~~~
main.c:31:14: error: stray '\342' in program
   31 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>C<U+2019>:
      |                                      ^~~~~~~~
main.c:31:16: error: stray '\342' in program
   31 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>C<U+2019>:
      |                                               ^~~~~~~~
main.c:31:15: error: 'C' undeclared (first use in this function)
   31 | 　　　　case ‘C’:
      |               ^
main.c:33:1: error: stray '\343' in program
   33 | <U+3000><U+3000><U+3000><U+3000>cards[2][k-1]=1;
      | ^~~~~~~~
main.c:33:3: error: stray '\343' in program
   33 | <U+3000><U+3000><U+3000><U+3000>cards[2][k-1]=1;
      |         ^~~~~~~~
main.c:33:5: error: stray '\343' in program
   33 | <U+3000><U+3000><U+3000><U+3000>cards[2][k-1]=1;
      |                 ^~~~~~~~
main.c:33:7: error: stray '\343' in program
   33 | <U+3000><U+3000><U+3000><U+3000>cards[2][k-1]=1;
      |                         ^~~~~~~~
main.c:35:1: error: stray '\343' in program
   35 | <U+3000><U+3000><U+3000><U+3000>break;
      | ^~~~~~~~
main.c:35:3: error: stray '\343' in program
   35 | <U+3000><U+3000><U+3000><U+3000>break;
      |         ^~~~~~~~
main.c:35:5: error: stray '\343' in program
   35 | <U+3000><U+3000><U+3000><U+3000>break;
      |                 ^~~~~~~~
main.c:35:7: error: stray '\343' in program
   35 | <U+3000><U+3000><U+3000><U+3000>break;
      |                         ^~~~~~~~
main.c:37:1: error: stray '\343' in program
   37 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>D<U+2019>:
      | ^~~~~~~~
main.c:37:3: error: stray '\343' in program
   37 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>D<U+2019>:
      |         ^~~~~~~~
main.c:37:5: error: stray '\343' in program
   37 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>D<U+2019>:
      |                 ^~~~~~~~
main.c:37:7: error: stray '\343' in program
   37 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>D<U+2019>:
      |                         ^~~~~~~~
main.c:37:14: error: stray '\342' in program
   37 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>D<U+2019>:
      |                                      ^~~~~~~~
main.c:37:16: error: stray '\342' in program
   37 | <U+3000><U+3000><U+3000><U+3000>case <U+2018>D<U+2019>:
      |                                               ^~~~~~~~
main.c:37:15: error: 'D' undeclared (first use in this function)
   37 | 　　　　case ‘D’:
      |               ^
main.c:39:1: error: stray '\343' in program
   39 | <U+3000><U+3000><U+3000><U+3000>cards[3][k-1]=1;
      | ^~~~~~~~
main.c:39:3: error: stray '\343' in program
   39 | <U+3000><U+3000><U+3000><U+3000>cards[3][k-1]=1;
      |         ^~~~~~~~
main.c:39:5: error: stray '\343' in program
   39 | <U+3000><U+3000><U+3000><U+3000>cards[3][k-1]=1;
      |                 ^~~~~~~~
main.c:39:7: error: stray '\343' in program
   39 | <U+3000><U+3000><U+3000><U+3000>cards[3][k-1]=1;
      |                         ^~~~~~~~
main.c:41:1: error: stray '\343' in program
   41 | <U+3000><U+3000><U+3000><U+3000>break;
      | ^~~~~~~~
main.c:41:3: error: stray '\343' in program
   41 | <U+3000><U+3000><U+3000><U+3000>break;
      |         ^~~~~~~~
main.c:41:5: error: stray '\343' in program
   41 | <U+3000><U+3000><U+3000><U+3000>break;
      |                 ^~~~~~~~
main.c:41:7: error: stray '\343' in program
   41 | <U+3000><U+3000><U+3000><U+3000>break;
      |                         ^~~~~~~~
main.c:43:1: error: stray '\343' in program
   43 | <U+3000><U+3000><U+3000>}
      | ^~~~~~~~
main.c:43:3: error: stray '\343' in program
   43 | <U+3000><U+3000><U+3000>}
      |         ^~~~~~~~
main.c:43:5: error: stray '\343' in program
   43 | <U+3000><U+3000><U+3000>}
      |                 ^~~~~~~~
main.c:45:1: error: stray '\343' in program
   45 | <U+3000><U+3000>}
      | ^~~~~~~~
main.c:45:3: error: stray '\343' in program
   45 | <U+3000><U+3000>}
      |         ^~~~~~~~
main.c:45:1: error: expected declaration or statement at end of input
   45 | 　　}
      | ^~