Submission #73053

# Submission time Handle Problem Language Result Execution time Memory
73053 2018-08-27T14:39:14 Z tamtam Languages (IOI10_languages) C++14
0 / 100
7 ms 1024 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]];
        }
    }
    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 time Memory Grader output
1 Runtime error 7 ms 1024 KB Execution killed with signal 11 (could be triggered by violating memory limits)
# Verdict Execution time Memory Grader output
1 Runtime error 7 ms 896 KB Execution killed with signal 11 (could be triggered by violating memory limits)