Language: C

#include <stdio.h>
#include <string.h>
int main(void)
{
int n,a=0,b=0,c=0,d=0,i;
char s;
char s1 = "AC";
char s2 = "WA";
char s3 = "TLE";
char s4 = "RE;
scanf("%d",&n);
for(i=1;i<=n;i++){
  scanf("%c",&s);
  if(strcmp(s1,s) == 0)
    a++;
  else if(strcmp(s2,s) == 0)
    b++;
  else if(strcmp(s3,s) == 0)
    c++;
  else if(strcmp(s4,s) == 0)
    d++;
}
  printf("AC * %d",a);
  printf("WA * %d",b);
  printf("TLE * %d",c);
  printf("RE * %d",d);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:11: error: initialization of 'char' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
    7 | char s1 = "AC";
      |           ^~~~
main.c:8:11: error: initialization of 'char' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
    8 | char s2 = "WA";
      |           ^~~~
main.c:9:11: error: initialization of 'char' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
    9 | char s3 = "TLE";
      |           ^~~~~
main.c:10:11: warning: missing terminating " character
   10 | char s4 = "RE;
      |           ^
main.c:10:11: error: missing terminating " character
   10 | char s4 = "RE;
      |           ^~~~
main.c:14:13: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   14 |   if(strcmp(s1,s) == 0)
      |             ^~
      |             |
      |             char
In file included from main.c:2:
/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'char'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                    ~~~~~~~~~~~~^~~~
main.c:14:16: error: passing argument 2 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   14 |   if(strcmp(s1,s) == 0)
      |                ^
      |                |
      |                char
/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'char'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
main.c:16:18: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   16 |   else if(strcmp(s2,s) == 0)
      |                  ^~
      |                  |
      |                  char
/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'char'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                    ~~~~~~~~~~~~^~~~
main.c:16:21: error: passing argument 2 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   16 |   else if(strcmp(s2,s) == 0)
      |                     ^
      |                     |
      |                     char
/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'char'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
main.c:18:18: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   18 |   else if(strcmp(s3,s) == 0)
      |                  ^~
      |                  |
      |                  char
/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'char'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                    ~~~~~~~~~~~~^~~~
main.c:18:21: error: passing argument 2 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   18 |   else if(strcmp(s3,s) == 0)
      |                     ^
      |                     |
      |                     char
/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'char'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~
main.c:20:18: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   20 |   else if(strcmp(s4,s) == 0)
      |                  ^~
      |                  |
      |                  char
/usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'char'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                    ~~~~~~~~~~~~^~~~
main.c:20:21: error: passing argument 2 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   20 |   else if(strcmp(s4,s) == 0)
      |                     ^
      |                     |
      |                     char
/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'char'
  156 | extern int strcmp (const char *__s1, const char *__s2)
      |                                      ~~~~~~~~~~~~^~~~