# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
127476 | minhtung0404 | Svjetlost (COI18_svjetlost) | C++17 | 1389 ms | 23372 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.
//https://oj.uz/problem/view/COI18_svjetlost
#include<bits/stdc++.h>
#define int long long
#define double long double
const int N = 1e5 + 5;
const double inf = 1e18;
using namespace std;
struct point{
int x, y;
point(int x, int y) : x(x), y(y) {}
point() {}
point operator + (point a){
return point(a.x + x, a.y + y);
}
point operator - (point a){
return point(x - a.x, y - a.y);
}
} a[N], b[N];
int n, q, p, l[N], r[N], pset[N], Min, Max;
double it[N << 2], lazy[N << 2], sum[N << 2];
bool del[N];
int findset(int i) {return ((pset[i] == i) ? i : pset[i] = findset(pset[i]));}
# | 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... |