# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
539365 | jesus_coconut | Bulldozer (JOI17_bulldozer) | C++17 | 1721 ms | 99224 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 F first
#define S second
#define all(a) begin(a), end(a)
#define pb push_back
#define eb emplace_back
using namespace std;
using ll = long long;
using cll = complex<long long>;
using pii = pair<int, int>;
int n;
vector<pair<cll, ll>> v;
ll cross(cll a, cll b) {
return (conj(a) * b).imag();
}
ll ccw(cll a, cll b, cll c) {
return cross(b - a, c - b);
}
bool sign(cll a) {
return a.imag() > 0 || (a.imag() == 0 && a.real() > 0);
}
vector<pair<cll, pair<int, int>>> events;
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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |