| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1339430 | po_rag526 | Jarvis (COCI19_jarvis) | C++20 | 57 ms | 1052 KiB |
#include <bits/stdc++.h>
#define in cin
#define out cout
using namespace std;
int main()
{
int n; in >> n;
int a[n];
map<int, int> vf;
for(int i = 0; i < n; i++) in >> a[i];
for(int i = 0; i < n; i++){
int b; in >> b;
vf[b - a[i]]++;
}
int mx = 0;
for(const auto &x : vf){
mx = max(mx, x.second);
}
out << mx << '\n';
return 0;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
