| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1339417 | vjudge1 | Jarvis (COCI19_jarvis) | C++20 | 59 ms | 1232 KiB |
#include <bits/stdc++.h>
using namespace std;
int v[100005];
int main(){
map<int, int> mp;
int n;
cin >> n;
for(int i = 1; i <= n; i++){
cin >> v[i];
}
int ans = 0;
for(int i = 1; i <= n; i++){
int x;
cin >> x;
ans = max(ans, ++mp[v[i] - x]);
}
cout << ans << '\n';
return 0;
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
