# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
84370 | Alexa2001 | Palembang Bridges (APIO15_bridge) | C++17 | 525 ms | 55720 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;
typedef long long ll;
const int Nmax = 1e5 + 5;
struct segment
{
int x, y;
bool operator < (const segment &other) const
{
return x + y < other.x + other.y;
}
};
vector<segment> v;
map<int,int> mp;
ll dp1[Nmax], dp2[Nmax];
ll ans = 0;
int ord[2*Nmax];
struct AIB
{
int a[2*Nmax];
ll b[2*Nmax];
int ub(int x) { return (x&(-x)); }
void clear()
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... |