#include <iostream>
#include "grader.h"
using namespace std;
using ll = long long;
ll cnt[65537][57];
ll limba[57];
void excerpt(int *e) {
    for(int i = 0; i <= 55; i++)
        limba[i] = 0;
    for(int i = 0; i < 100; i++) { ///pt fiec cuv
        for(int j = 0; j <= 55; j++)
            limba[j] += cnt[e[i]][j];
    }
    ll maxx = -1, ans = 0;
    for(int i = 0; i <= 55; i++) {
        if(limba[i] > maxx) {
            maxx = limba[i];
            ans = i;
        }
    }
    int check = language(ans);
    for(int i = 0; i < 100; i++)
        cnt[e[i]][check]++;
}
| # | Verdict  | Execution time | Memory | Grader output | 
|---|
| Fetching results... | 
| # | Verdict  | Execution time | Memory | Grader output | 
|---|
| Fetching results... |