# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
141344 | tutis | Tri (CEOI09_tri) | C++17 | 613 ms | 23260 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.
/*input
4 3
1 2
1 3
5 1
5 3
1 4 3 3
2 2 4 1
4 4 6 3
*/
#pragma GCC optimize ("O3")
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
struct point
{
int x, y;
point() {}
point(int x, int y): x(x), y(y) {}
int d()
{
return x + y;
}
};
point operator-(const point &a, const point &b)
{
return point(a.x - b.x, a.y - b.y);
}
point operator-(const point &b)
{
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |