Submission #363370

# Submission time Handle Problem Language Result Execution time Memory
363370 2021-02-05T18:14:03 Z cig32 Languages (IOI10_languages) C++17
0 / 100
216 ms 11136 KB
#include "bits/stdc++.h"
#include "lang.h"
#include "grader.h"
using namespace std;
int word[65536][56];
void excerpt(int *a){
    int s[56];
    int m=0;
    for(int j=0;j<56;j++)s[j]=0;
    for(int j=0;j<100;j++){
        for(int k=0;k<56;k++){
            s[k]+=word[a[j]][k];
            m=max(m,s[k]);
        }
    }
    for(int j=0;j<56;j++){
        if(s[j]==m){
            language(j);
            break;
        }
    }
    int ans;
    cin >> ans;
    for(int j=0;j<100;j++){
        word[a[j]][ans]++;
    }
}
# Verdict Execution time Memory Grader output
1 Incorrect 205 ms 11116 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 216 ms 11136 KB Output isn't correct - 1.91%