# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
45262 | ssnsarang2023 | Dragon 2 (JOI17_dragon2) | C++98 | 114 ms | 8740 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.
//#define debug
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int, int> ii;
typedef long double ld;
#define SZ(x) ((int)x.size())
const int SQ = 316;
const int N = (int)3e4+5;
struct point {
ll x, y;
int t, idx;
point(ll _x, ll _y, int _t, int _idx) : x(_x), y(_y), t(_t), idx(_idx) {}
point() { x = y = 0, t = idx = 0; }
inline bool operator<(const point &other) const;
} origin;
inline bool ccw(const point &a, const point &b, const point &c) {
return a.x * (b.y - c.y) + b.x * (c.y - a.y) + c.x * (a.y - b.y) > 0;
}
struct TData {
int lo, hi, id;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |