# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
257766 | HAjrhsa | Preokret (COCI18_preokret) | C++17 | 2 ms | 384 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
using namespace std;
void fst()
{
ios::sync_with_stdio(0);
cin.tie(0);
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
#endif
}
int pa[2881], pb[2881];
#define int long long
int32_t main()
{
//fst();
int a, b;
cin >> a ;
int x;
while (a--)
{
cin >> x;
pa[x]++;
}
cin>>b;
while (b--)
{
cin >> x;
pb[x]++;
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |