# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
937038 | Khalid_Alabdullatif | 시간이 돈 (balkan11_timeismoney) | C++14 | 357 ms | 736 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
#define ll long long
#define f first
#define s second
#define pii pair<ll,int>
using namespace std;
const int N=1e4+7;
struct point{
point(){}
point(ll xx, ll yy):x(xx),y(yy){}
ll x=0,y=0;
friend point operator+(point a,point b){
return point(a.x+b.x,b.y+b.y);
}
friend point operator-(point a,point b){
return point(a.x-b.x,a.y-b.y);
}
friend ll operator^(point a, point b){
return a.x*b.y-a.y*b.x;
}
friend ll operator*(point a,point b){
return a.x*b.x+a.y*b.y;
}
friend bool operator<(point a,point b){
if(a.x<b.x)
return 1;
if(a.x==b.x){
if(a.y<=b.y)
return 1;
return 0;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |