# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
755022 | bgnbvnbv | Dominance (CEOI08_dominance) | C++14 | 82 ms | 1148 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 TASKNAME "codeforce"
#define pb push_back
#define pli pair<int,int>
#define fi first
#define se second
#define fastio ios_base::sync_with_stdio(false); cin.tie(NULL);
using namespace std;
using ll=long long;
const ll maxN=3006;
const ll inf=1e18;
const ll mod=1e9+7;
int f[3005*4],g[3005*4],L[maxN],R[maxN];
vector<ll>in[3005*4],out[3005*4];
ll w,h;
ll n,x[maxN],y[maxN],r[maxN];
char c[maxN];
ll val[maxN];
vector<ll>vecc,vecr;
ll get(ll r1,ll l1,ll r2,ll l2)
{
ll le,chan,le1,chan1;
if((r2-l2+1)%2==0)
{
le=(r2-l2+1)/2;
chan=(r2-l2+1)/2;
}
else
{
le=(r2-l2+1)/2;
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |