Submission #73051

# Submission time Handle Problem Language Result Execution time Memory
73051 2018-08-27T14:36:50 Z tamtam Languages (IOI10_languages) C++14
0 / 100
218 ms 512 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;
    }
}
# Verdict Execution time Memory Grader output
1 Incorrect 218 ms 512 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 214 ms 512 KB Output isn't correct - 23.44%