# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
150060 | 맞WATLE (#200) | 최적의 팀 구성 (FXCUP4_squad) | C++17 | 1744 ms | 78900 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include "squad.h"
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
const int MAXN = 3e5;
const ll INF = numeric_limits<ll>::max();
int N;
vector<int> A, D, P;
struct Point
{
ll x, y; int num;
bool operator == (const Point &p) { return p.x==x && p.y==y; }
};
Point operator - (const Point& p, const Point& q) { return { p.x-q.x, p.y-q.y, q.num }; }
struct Snipe
{
ll ccw(const Point& p1, const Point& p2)
{
ll t=p1.x*p2.y-p1.y*p2.x;
if(t==0) return t;
else return t/abs(t);
}
컴파일 시 표준 에러 (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... |