이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <stdlib.h>
#include <stdio.h>
#include "grader.h"
#include "lang.h"
#define SZ 100
int lang[57][65540];
void excerpt(int *E) {
    int i,j;
    int guess=26;
    int maxmatch=0;
    for(j=0;j<56;j++){
        int tmp=0;
        for(i=0;i<100;i++){
            if(lang[j][E[i]])tmp++;
            //tmp+=lang[j][E[i]];
        }
        if(tmp>maxmatch){
            maxmatch=tmp;
            guess=j;
        }
    }
    int real = language(guess);
    for(i=0;i<100;i++){
        lang[real][E[i]]++;
    }
    return;
}
| # | Verdict  | Execution time | Memory | Grader output | 
|---|
| Fetching results... | 
| # | Verdict  | Execution time | Memory | Grader output | 
|---|
| Fetching results... |