# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
671753 | Nimbostratus | Drvca (COCI19_drvca) | C++17 | 236 ms | 12188 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>
#define endl '\n'
using namespace std;
using lint = long long;
const int maxn = 2e5 + 5;
const int inf = 1e9 + 5;
const int mod = 1e9 + 7;
int n;
int a[maxn];
multiset<int> s1;
multiset<int> s2;
multiset<int> sd;
void print() {
cout << s1.size() << endl;
while(!s1.empty()) {
cout << *s1.begin() << " ";
s1.erase(s1.begin());
}
cout << endl;
cout << s2.size() << endl;
while(!s2.empty()) {
cout << *s2.begin() << " ";
s2.erase(s2.begin());
}
}
bool trav(int i, int j) {
s1.clear();
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |