# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
299439 | Bruteforceman | Wish (LMIO19_noras) | C++11 | 558 ms | 9216 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>
using namespace std;
const int maxn = 2e5 + 10;
const long long inf = 1e16;
typedef long long dtype;
struct point {
dtype x, y;
point (dtype x, dtype y) : x(x), y(y) {}
point () {}
point operator - (point p) const {
return point(x - p.x, y - p.y);
}
point operator + (point p) const {
return point(x + p.x, y + p.y);
}
point operator * (dtype val) const {
return point(x * val, y * val);
}
};
dtype dot(point p, point q) {
return p.x * q.x + p.y * q.y;
}
int main() {
int n, R;
cin >> n >> R;
map <long long, int> cnt;
for(int i = 0; i < n; i++) {
int a, b;
int c, d;
cin >> a >> b >> c >> d;
Compilation message (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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |