# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
824183 | sven | Railway Trip 2 (JOI22_ho_t4) | C++17 | 482 ms | 43360 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;
const int MAXN = 1<<17;
const int MAXP = 19;
int droite[MAXN];
int gauche[MAXN];
struct inter
{
int deb,fin;
bool operator == (const inter & autre) const
{
return deb == autre.deb && fin == autre.fin;
}
};
inter vide = {-1 , -1};
struct prQ
{
int val , pos;
};
inter union_inter(inter a , inter b)
{
if (a == vide) return b;
if (b == vide) return a;
return {min(a.deb , b.deb) , max(a.fin , b.fin)};
}
# | 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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |