# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
155305 | 2019-09-27T13:55:59 Z | jhnah917 | Languages (IOI10_languages) | C++14 | 218 ms | 512 KB |
#include "grader.h" #include "lang.h" #include <bits/stdc++.h> using namespace std; int n = 100, m = 56; int cnt[66][10101]; void excerpt(int *arr){ int mx = 0, idx = 0; for(int i=0; i<m; i++){ int now = 0; for(int j=0; j<n; j++) if(cnt[i][arr[j]]) now++; if(now > mx){ mx = now; idx = i; } } int ans = language(idx); for(int i=0; i<n; i++) cnt[idx][arr[i]] = 1; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 218 ms | 512 KB | Output isn't correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 211 ms | 512 KB | Output isn't correct - 1.91% |