# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
483867 | sam571128 | Geometrija (COCI21_geometrija) | C++17 | 1062 ms | 664 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 int long long
#define fastio ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
using namespace std;
typedef pair<int,int> point;
#define x first
#define y second
int operator^(point a, point b){
return a.x*b.y-a.y*b.x;
}
int operator*(point a, point b){
return a.x*b.x+a.y*b.y;
}
point operator-(point a, point b){
return {a.x-b.x,a.y-b.y};
}
point operator+(point a, point b){
return {a.x+b.x,a.y+b.y};
}
int ori(point a, point b, point c){
int tmp = (b-a)^(c-a);
if(tmp == 0) return 0;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |