#include<bits/stdc++.h>
#include "grader.h"
#include "lang.h"
using namespace std;
bool s[56][65536];
int A[56];
vector<int> G;
int vis[65536];
void excerpt(int E[]) {
int ca = 1;
for (int i = 0; i <= 55; i++) {
for (int j = 0; j < 100; j++) {
G.push_back(E[j]);
if (s[i][E[j]] && !vis[E[j]])
A[i]++, vis[E[j]] = 1;
}
for (int g:G) vis[g] = 0;
G.clear();
}
for (int i = 0; i <= 55; i++)
if (A[i] > A[ca]) ca = i;
int d = language(ca);
for (int i = 0; i < 100; i++)
s[d][E[i]]|=1;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
525 ms |
2144 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
526 ms |
2016 KB |
Output isn't correct - 1.93% |