# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
73050 | 2018-08-27T14:36:22 Z | tamtam | Languages (IOI10_languages) | C++14 | 0 ms | 0 KB |
//#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]]; break; } } L=language(L); for (int i=0;i<100;i++){ lang[E[i]]=L; } }