# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
443749 | Killer2501 | Mergers (JOI19_mergers) | C++14 | 1338 ms | 213000 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>
#define ll long long
#define pb push_back
#define task "slingshot"
#define pll pair<ll, ll>
#define pii pair<pll, ll>
#define fi first
#define se second
#define ull unsigned long long
using namespace std;
const ll mod = 2111992;
const ll N = 5e5+5;
const int base = 300;
ll n, m, t, ans, k, a[N], b[N], c[N], tong, cnt, q, d[N], P[N][21], h[N], lab[N];
mt19937_64 mt(chrono::steady_clock::now().time_since_epoch().count());
struct point
{
ll x, y;
}p[N];
vector<ll> dx, dy;
vector<ll> adj[N], kq, gr[N];
string s[N];
ll pw(ll k, ll n)
{
ll total = 1;
for(; n; n >>= 1)
{
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... |