Language: C

//Twitter@KonoLv1 2020年春卒で現在就職活動中！

#include <stdio.h>
int main(void){
    int i,j;            //  ループ文に使用
    int x,y,z;
   
    char s[256];        //  文字列
    long long int count [100000]={};
    int n
    long long int ans;

    ans = 0;
    //  入力処理
    
    scanf("%d",&n);
    for (i = 0; i < n; i++){
        scanf("%s",s);
        for (j = 0; j < 10; j++){
            if (s[j] == 'a'){
                count[i] = count[i] + 1;
            }else  if (s[j] == 'b'){
                count[i] = count[i] + 5;
            }else  if (s[j] == 'c'){
                count[i] = count[i] + 25;
            }else  if (s[j] == 'd'){
                count[i] = count[i] + 100;
            }else  if (s[j] == 'e'){
                count[i] = count[i] + 500;
            }else  if (s[j] == 'f'){
                count[i] = count[i] + 2500;
            }else  if (s[j] == 'g'){
                count[i] = count[i] + 10000;
            }else  if (s[j] == 'h'){
                count[i] = count[i] + 50000;                
            }else  if (s[j] == 'i'){
                count[i] = count[i] + 250000;
            }else  if (s[j] == 'j'){
                count[i] = count[i] + 1000000;     
            }else  if (s[j] == 'k'){
                count[i] = count[i] + 5000000;
            }else  if (s[j] == 'l'){
                count[i] = count[i] + 25000000;
            }else  if (s[j] == 'm'){
                count[i] = count[i] + 100000000;
            }else  if (s[j] == 'n'){
                count[i] = count[i] + 500000000;
            }else  if (s[j] == 'o'){
                count[i] = count[i] + 2500000000;
            }else  if (s[j] == 'p'){
                count[i] = count[i] + 10000000000;
            }else  if (s[j] == 'q'){
                count[i] = count[i] + 50000000000;
            }else  if (s[j] == 'r'){
                count[i] = count[i] + 250000000000;
            }else  if (s[j] == 's'){
                count[i] = count[i] + 1000000000000;
            }else  if (s[j] == 't'){
                count[i] = count[i] + 5000000000000;
            }else  if (s[j] == 'u'){
                count[i] = count[i] + 25000000000000;
            }else  if (s[j] == 'v'){
                count[i] = count[i] + 100000000000000;
            }else  if (s[j] == 'w'){
                count[i] = count[i] + 500000000000000;
            }else  if (s[j] == 'x'){
                count[i] = count[i] + 2500000000000000;
            }else  if (s[j] == 'y'){
                count[i] = count[i] + 10000000000000000;
            }else  if (s[j] == 'z'){
                count[i] = count[i] + 50000000000000000;
            }
        }
    }
    

    
    //  計算処理
    for (i = 0; i < n - 1; i++){
        for (j = i + 1; j < n; j++){
            if (count[i] == count[j]){
                ans++;
            }
        }
    }

    //  出力処理
 
    printf("%lld",ans);
    
  
}


Compiler output:
main.c: In function 'main':
main.c:10:10: error: expected ';' before 'long'
   10 |     int n
      |          ^
      |          ;
   11 |     long long int ans;
      |     ~~~~  
main.c:16:17: error: 'n' undeclared (first use in this function)
   16 |     scanf("%d",&n);
      |                 ^
main.c:16:17: note: each undeclared identifier is reported only once for each function it appears in