# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
101781 | KCSC | Collapse (JOI18_collapse) | C++14 | 3849 ms | 27292 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 DIM = 100005;
const int SIZE = 305;
struct Edge {
int x, y, t1, t2;
Edge(int _x, int _y, int _t1, int _t2) :
x(_x), y(_y), t1(_t1), t2(_t2) {}
bool operator <(const Edge &other) const {
return (*this).y < other.y; }
};
struct Query {
int p, t, id;
Query(int _p, int _t, int _id) :
p(_p), t(_t), id(_id) {}
bool operator <(const Query &other) const {
return (*this).p < other.p; }
};
struct UndoDSU {
int cnt, siz;
int fth[DIM], lst[DIM], szt[DIM];
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... |