제출 #73053

#제출 시각아이디문제언어결과실행 시간메모리
73053tamtamLanguages (IOI10_languages)C++14
0 / 100
7 ms1024 KiB
#include "grader.h"
//#include "languages.h"
#include <bits/stdc++.h>
#define F first
#define S second
typedef long long ll;
using namespace std;
int lang[100010]={-1};
void excerpt(int E[]){
    int L=0;
    for (int i=0;i<100;i++){
        if (lang[E[i]]!=-1){
            L=lang[E[i]];
        }
    }
    L=language(L);
    for (int i=0;i<100;i++){
        if (lang[E[i]]!=-1&&lang[E[i]]!=L)assert(0);
        lang[E[i]]=L;
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...