# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
160788 | socho | Preokret (COCI18_preokret) | C++14 | 3 ms | 380 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;
int main() {
vector<pair<int, int> > evt;
int a;
cin >> a;
for (int i=0; i<a; i++) {
int t;
cin >> t;
evt.push_back(make_pair(t, 0));
}
int b;
cin >> b;
for (int i=0; i<b; i++) {
int t;
cin >> t;
evt.push_back(make_pair(t, 1));
}
sort(evt.begin(), evt.end());
int ac = 0;
int bc = 0;
int fh = 0;
vector<int> lead;
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |