Language: C

int len;
int wrong = 0;
char a[200000];
char b[200000];
long c[200000] = {};
long d[200000] = {};
long seno[128] = {};
long tno[128] = {};

scanf("%s", &a);
scanf("%s", &b);

len = strlen(a);
//len = 200000;
for(i = 0; i<len;i++){
  seno[(a[i])-'a']++;
  tno[(b[i])-'a']++;
}

for(i = 0;i < 26; i++){
  c[seno[i]]++;
  d[tno[i]]++;
}

for(i = 0; i < len; i++){
  if(c[i] != d[i]) wrong++;
}
if(wrong == 0){
  printf("Yes\n");
}else{
  printf("No\n");
}


  return 0;
}


Compiler output:
main.c:10:7: error: expected declaration specifiers or '...' before string constant
   10 | scanf("%s", &a);
      |       ^~~~
main.c:10:13: error: expected declaration specifiers or '...' before '&' token
   10 | scanf("%s", &a);
      |             ^
main.c:11:7: error: expected declaration specifiers or '...' before string constant
   11 | scanf("%s", &b);
      |       ^~~~
main.c:11:13: error: expected declaration specifiers or '...' before '&' token
   11 | scanf("%s", &b);
      |             ^
main.c:13:1: warning: data definition has no type or storage class
   13 | len = strlen(a);
      | ^~~
main.c:13:1: error: type defaults to 'int' in declaration of 'len' [-Wimplicit-int]
main.c:13:7: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
   13 | len = strlen(a);
      |       ^~~~~~
main.c:1:1: note: include '<string.h>' or provide a declaration of 'strlen'
  +++ |+#include <string.h>
    1 | int len;
main.c:13:7: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
   13 | len = strlen(a);
      |       ^~~~~~
main.c:13:7: note: include '<string.h>' or provide a declaration of 'strlen'
main.c:13:7: error: initializer element is not constant
main.c:15:1: error: expected identifier or '(' before 'for'
   15 | for(i = 0; i<len;i++){
      | ^~~
main.c:15:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
   15 | for(i = 0; i<len;i++){
      |             ^
main.c:15:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
   15 | for(i = 0; i<len;i++){
      |                   ^~
main.c:20:1: error: expected identifier or '(' before 'for'
   20 | for(i = 0;i < 26; i++){
      | ^~~
main.c:20:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
   20 | for(i = 0;i < 26; i++){
      |             ^
main.c:20:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
   20 | for(i = 0;i < 26; i++){
      |                    ^~
main.c:25:1: error: expected identifier or '(' before 'for'
   25 | for(i = 0; i < len; i++){
      | ^~~
main.c:25:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
   25 | for(i = 0; i < len; i++){
      |              ^
main.c:25:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
   25 | for(i = 0; i < len; i++){
      |                      ^~
main.c:28:1: error: expected identifier or '(' before 'if'
   28 | if(wrong == 0){
      | ^~
main.c:30:2: error: expected identifier or '(' before 'else'
   30 | }else{
      |  ^~~~
main.c:35:3: error: expected identifier or '(' before 'return'
   35 |   return 0;
      |   ^~~~~~
main.c:36:1: error: expected identifier or '(' before '}' token
   36 | }
      | ^