# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1116484 | staszic_ojuz | Foehn Phenomena (JOI17_foehn_phenomena) | C++17 | 348 ms | 4880 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;
using ll=long long;
const int MAX=2*1e5+7;
/*
const int base=1<<20;
ll drzewo[2*base];
void ppush(int a, int b, ll w){
a += base-1;
b += base+1;
while (a/2!=b/2){
if (a%2==0) drzewo[a+1]+=w;
if (b%2==1) drzewo[b-1]+=w;
a/=2;
b/=2;
}
}
void get(int a){
int a2=a;
a+=base;
ll wyn=0;
while (a>0){
wyn += drzewo[a];
a /= 2;
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |