Language: C

#include <stdio.h>

int main(void){
  int N;
  int A = 0;
  int W = 0;
  int T = 0;
  int R = 0;
  scanf(N,"%d",stdin);
  char data[N];
  
  String AC, WA, TLE, RE;
  fgets(data,N,stdin);

  for(int i = 0;i < N;i++){
    if(strcmp(data[i],AC)==0){
      A++;
    }else if(strcmp(data[i],WA)==0){
      W++;
    }else if(strcmp(data[i],TLE)==0){
      T++;
    }else if(strcmp(data[i],RE)==0){
      R++;
    }
  }
  printf("AC x %d\n", A);
  printf("WA x %d\n", W);
  printf("TLE x %d\n", T);
  printf("RE x %d\n", R);
  
  return 0;
}
  

Compiler output:
main.c: In function 'main':
main.c:9:9: error: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
    9 |   scanf(N,"%d",stdin);
      |         ^
      |         |
      |         int
In file included from main.c:1:
/usr/include/stdio.h:428:42: note: expected 'const char *' but argument is of type 'int'
  428 | extern int scanf (const char *__restrict __format, ...) __wur;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:12:3: error: unknown type name 'String'
   12 |   String AC, WA, TLE, RE;
      |   ^~~~~~
main.c:16:8: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
   16 |     if(strcmp(data[i],AC)==0){
      |        ^~~~~~
main.c:2:1: note: include '<string.h>' or provide a declaration of 'strcmp'
    1 | #include <stdio.h>
  +++ |+#include <string.h>
    2 | 
main.c:16:19: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   16 |     if(strcmp(data[i],AC)==0){
      |               ~~~~^~~
      |                   |
      |                   char
main.c:16:19: note: expected 'const char *' but argument is of type 'char'
main.c:16:23: error: passing argument 2 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   16 |     if(strcmp(data[i],AC)==0){
      |                       ^~
      |                       |
      |                       int
main.c:16:23: note: expected 'const char *' but argument is of type 'int'
main.c:18:25: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   18 |     }else if(strcmp(data[i],WA)==0){
      |                     ~~~~^~~
      |                         |
      |                         char
main.c:18:25: note: expected 'const char *' but argument is of type 'char'
main.c:18:29: error: passing argument 2 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   18 |     }else if(strcmp(data[i],WA)==0){
      |                             ^~
      |                             |
      |                             int
main.c:18:29: note: expected 'const char *' but argument is of type 'int'
main.c:20:25: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   20 |     }else if(strcmp(data[i],TLE)==0){
      |                     ~~~~^~~
      |                         |
      |                         char
main.c:20:25: note: expected 'const char *' but argument is of type 'char'
main.c:20:29: error: passing argument 2 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   20 |     }else if(strcmp(data[i],TLE)==0){
      |                             ^~~
      |                             |
      |                             int
main.c:20:29: note: expected 'const char *' but argument is of type 'int'
main.c:22:25: error: passing argument 1 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   22 |     }else if(strcmp(data[i],RE)==0){
      |                     ~~~~^~~
      |                         |
      |                         char
main.c:22:25: note: expected 'const char *' but argument is of type 'char'
main.c:22:29: error: passing argument 2 of 'strcmp' makes pointer from integer without a cast [-Wint-conversion]
   22 |     }else if(strcmp(data[i],RE)==0){
      |                             ^~
      |                             |
      |                             int
main.c:22:29: note: expected 'const char *' but argument is of type 'int'