# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
414654 | fadi57 | Deda (COCI17_deda) | C++14 | 522 ms | 6904 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;
const int mx=2e5+5;
typedef long long ll;
int inf=1e9+10;
const int mod=1e9+7;
int n,m,k,p,l,q;
int seg[4*mx];
void build(int node,int st,int en){
if(st==en){
seg[node]=inf;
return;
}
int mid=(st+en)/2;
build(node*2,st,mid); build(node*2+1,mid+1,en);
seg[node]=inf;
return;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |