# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
92334 | Alexa2001 | Collapse (JOI18_collapse) | C++17 | 4046 ms | 30684 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>
#include "collapse.h"
using namespace std;
const int Bsize = 323, Nmax = 1e5 + 5;
struct Edge
{
int x, y, t1, t2;
bool operator < (const Edge &other) const
{
return y < other.y;
}
};
struct Query
{
int pos, t, id;
bool operator < (const Query &other) const
{
return pos < other.pos;
}
};
vector<int> answer;
vector<Query> queries;
vector<Edge> edges;
map< pair<int,int> , int > mp;
int N, Q, M;
namespace forest
Compilation message (stderr)
# | 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... |