이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
#include "grader.h"
#include "lang.h"
using namespace std;
const int N = 56;
const int m = 100;
set<int> s[N];
void excerpt(int *E)
{
int maxu = -1, maxi = -1;
for (int i = 0; i < N; ++i)
{
int q = 0;
for (int j = 0; j < m; ++j)
{
if (s[i].find(E[j]) != s[i].end())
++q;
}
if (q > maxu)
{
maxu = q;
maxi = i;
}
}
int u = language(maxi);
for (int j = 0; j < m; ++j)
s[u].insert(E[j]);
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |