Submission #73052

# Submission time Handle Problem Language Result Execution time Memory
73052 2018-08-27T14:38:16 Z tamtam Languages (IOI10_languages) C++14
0 / 100
12 ms 896 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)assert(0);
        lang[E[i]]=L;
    }
}
# Verdict Execution time Memory Grader output
1 Runtime error 12 ms 896 KB Execution killed with signal 11 (could be triggered by violating memory limits)
# Verdict Execution time Memory Grader output
1 Runtime error 6 ms 896 KB Execution killed with signal 11 (could be triggered by violating memory limits)