| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 699595 | qwerasdfzxcl | Languages (IOI10_languages) | C++17 | 1796 ms | 6452 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "grader.h"
#include "lang.h"
#include <bits/stdc++.h>
typedef long long ll;
using namespace std;
set<int> st[101];
void push(int *E, int typ){
for (int i=0;i<100;i++) st[typ].insert(E[i]);
}
int calc(int *E, int typ){
int ret = 0;
for (int i=0;i<100;i++) if (st[typ].find(E[i])==st[typ].end()) ret++;
return ret;
}
void excerpt(int *E){
int mn = 1e9, idx = -1;
for (int i=0;i<56;i++){
int score = calc(E, i);
if (score < mn){
mn = score;
idx = i;
}
}
push(E, language(idx));
}| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
