# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
103812 | Shtef | Svjetlost (COI18_svjetlost) | C++14 | 3035 ms | 7796 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 <iostream>
#include <utility>
#include <cmath>
#include <iomanip>
#include <vector>
using namespace std;
typedef long double ld;
typedef long long ll;
typedef pair <ll, ll> pll;
#define x first
#define y second
#define mp make_pair
int n, q, dosad[200005];
vector <pll> a, b;
ld duljina(pll x, pll y){
ld ret = sqrt((x.x - y.x) * (x.x - y.x) + (x.y - y.y) * (x.y - y.y));
return ret;
}
ll crossprod(pll px1, pll py1, pll px2, pll py2){
ll x1 = py1.x - px1.x;
ll y1 = py1.y - px1.y;
ll x2 = py2.x - px2.x;
ll y2 = py2.y - px2.y;
ll ret = x1 * y2 - x2 * y1;
return ret;
# | 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... |