# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
467989 | starplat | Hedgehog Daniyar and Algorithms (IZhO19_sortbooks) | C++14 | 1839 ms | 84204 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
#define ll long long
#define pb push_back
#define f first
#define s second
#define pll pair<ll,ll>
using namespace std;
ll n,m,w[(int)2e6+5],pos,val;
ll t[(int)(2e6+5)<<2],ans[(int)2e6+5];
vector<pll> v;
deque<int> q;
struct query{
ll l,r,k,pos;
}e[(int)2e6+5];
bool s3(query a,query b)
{
return a.l>b.l;
}
bool s1(pll a,pll b)
{
return a.s>b.s;
}
bool s2(query a,query b)
{
return a.pos<b.pos;
}
void update(int id,int x,int y,int tar,ll v)
{
if (x==y){
t[id]=max(t[id],v);
# | 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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |