# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
138666 | ckodser | Werewolf (IOI18_werewolf) | C++14 | 4037 ms | 127208 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 "werewolf.h"
#include<bits/stdc++.h>
#define ll int
#define pb push_back
#define ld long double
#define F first
#define S second
#define mp make_pair
#define pii pair<ll,ll>
using namespace :: std;
const ll maxn=5e5+500;
const ll inf=1e9+900;
ll seg[maxn*4];
void bild(ll l,ll r,ll node){
fill(seg,seg+maxn,inf);
}
ll findMin(ll L,ll R,ll node,ll l,ll r){
ll ans=inf;
for(ll i=l;i<r;i++)ans=min(ans,seg[i]);
return ans;
}
ll update(ll L,ll R,ll node,ll x,ll v){
seg[x]=v;
}
vector<ll> c[2];
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... |