| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1339423 | po_rag526 | Jarvis (COCI19_jarvis) | C++20 | 100 ms | 9432 KiB |
#include <bits/stdc++.h>
#define in cin
#define out cout
using namespace std;
int main()
{
int n; in >> n;
map<int, int> vf1, vf2;
for(int i = 0; i < n; i++){
int x; in >> x;
vf1[x]++;
}
for(int i = 0; i < n; i++){
int x; in >> x;
vf2[x]++;
}
auto it = (vf1.end()); it--;
int mx1 = (*it).second;
it = (vf2.end()); it--;
int mx2 = (*it).second;
out << min(mx1, mx2) << '\n';
return 0;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
