Language: C

#include <stdio.h>
#include <stdlib.h>
#include<string.h>

int main()
{
   char str;
   char strr; 
  char st1,st2;
   long long a,b,c,d,i;
  a=0;
  b=0;
  c=0;
  d=0;
  memset(strrr, 0, sizeof(strrr));
  for(i==1;i<=100000;i++)
  {
   while(str=getchar() != '\n')
    {
        strcat(strr,str);
    }
        if(strr == st1)
        {
            break;
        }
        if(strr == "AC")
        {
            a++;
        }

        if(strr == "WA")
        {
            b++;
        }
      if(strr == "TLE")
        {
            c++;
        }
      if(strr == "RE")
        {
            d++;
        }
    fflush(stdin);
    memset(strr, 0, sizeof(strr));
    memset(str, 0, sizeof(str));
    memset(st1, 0, sizeof(st1));
    memset(st2, 0, sizeof(st2));
    st1=strr;
    st2=str;
    strcat(st1,st2);
  }
   
    printf("AC x %lld\n",a);
  printf("WA x %lld\n",b);
  printf("TLE x %lld\nl",c);
  printf("RE x %lld",d);
  
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:15:10: error: 'strrr' undeclared (first use in this function); did you mean 'strr'?
   15 |   memset(strrr, 0, sizeof(strrr));
      |          ^~~~~
      |          strr
main.c:15:10: note: each undeclared identifier is reported only once for each function it appears in
main.c:20:16: error: passing argument 1 of 'strcat' makes pointer from integer without a cast [-Wint-conversion]
   20 |         strcat(strr,str);
      |                ^~~~
      |                |
      |                char
In file included from main.c:3:
/usr/include/string.h:149:39: note: expected 'char * restrict' but argument is of type 'char'
  149 | extern char *strcat (char *__restrict __dest, const char *__restrict __src)
      |                      ~~~~~~~~~~~~~~~~~^~~~~~
main.c:20:21: error: passing argument 2 of 'strcat' makes pointer from integer without a cast [-Wint-conversion]
   20 |         strcat(strr,str);
      |                     ^~~
      |                     |
      |                     char
/usr/include/string.h:149:70: note: expected 'const char * restrict' but argument is of type 'char'
  149 | extern char *strcat (char *__restrict __dest, const char *__restrict __src)
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
main.c:26:17: warning: comparison between pointer and integer
   26 |         if(strr == "AC")
      |                 ^~
main.c:31:17: warning: comparison between pointer and integer
   31 |         if(strr == "WA")
      |                 ^~
main.c:35:15: warning: comparison between pointer and integer
   35 |       if(strr == "TLE")
      |               ^~
main.c:39:15: warning: comparison between pointer and integer
   39 |       if(strr == "RE")
      |               ^~
main.c:44:12: error: passing argument 1 of 'memset' makes pointer from integer without a cast [-Wint-conversion]
   44 |     memset(strr, 0, sizeof(strr));
      |            ^~~~
      |            |
      |            char
/usr/include/string.h:61:28: note: expected 'void *' but argument is of type 'char'
   61 | extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
      |                      ~~~~~~^~~
main.c:45:12: error: passing argument 1 of 'memset' makes pointer from integer without a cast [-Wint-conversion]
   45 |     memset(str, 0, sizeof(str));
      |            ^~~
      |            |
      |            char
/usr/include/string.h:61:28: note: expected 'void *' but argument is of type 'char'
   61 | extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
      |                      ~~~~~~^~~
main.c:46:12: error: passing argument 1 of 'memset' makes pointer from integer without a cast [-Wint-conversion]
   46 |     memset(st1, 0, sizeof(st1));
      |            ^~~
      |            |
      |            char
/usr/include/string.h:61:28: note: expected 'void *' but argument is of type 'char'
   61 | extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
      |                      ~~~~~~^~~
main.c:47:12: error: passing argument 1 of 'memset' makes pointer from integer without a cast [-Wint-conversion]
   47 |     memset(st2, 0, sizeof(st2));
      |            ^~~
      |            |
      |            char
/usr/include/string.h:61:28: note: expected 'void *' but argument is of type 'char'
   61 | extern void *memset (void *__s, int __c, size_t __n) __THROW __nonnull ((1));
      |                      ~~~~~~^~~
main.c:50:12: error: passing argument 1 of 'strcat' makes pointer from integer without a cast [-Wint-conversion]
   50 |     strcat(st1,st2);
      |            ^~~
      |            |
      |            char
/usr/include/string.h:149:39: note: expected 'char * restrict' but argument is of type 'char'
  149 | extern char *strcat (char *__restrict __dest, const char *__restrict __src)
      |                      ~~~~~~~~~~~~~~~~~^~~~~~
main.c:50:16: error: passing argument 2 of 'strcat' makes pointer from integer without a cast [-Wint-conversion]
   50 |     strcat(st1,st2);
      |                ^~~
      |                |
      |                char
/usr/include/string.h:149:70: note: expected 'const char * restrict' but argument is of type 'char'
  149 | extern char *strcat (char *__restrict __dest, const char *__restrict __src)
      |                                               ~~~~~~~~~~~~~~~~~~~~~~~^~~~~