# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
151434 | kuroni | Organizing the Best Squad (FXCUP4_squad) | C++17 | 1684 ms | 43500 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 "squad.h"
#include <bits/stdc++.h>
using namespace std;
struct SPoint
{
int x, y;
SPoint(int _x = 0, int _y = 0) : x(_x), y(_y) {}
inline bool operator<(const SPoint &oth) const
{
return x < oth.x || (x == oth.x && y < oth.y);
}
inline SPoint operator+(const SPoint &oth) const
{
return SPoint(x + oth.x, y + oth.y);
}
};
struct SVector
{
int x, y;
SVector(SPoint _st, SPoint _en) : x(_en.x - _st.x), y(_en.y - _st.y) {}
inline long long operator*(const SVector &oth) const
{
return 1LL * x * oth.y - 1LL * y * oth.x;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |