# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
988472 | amirhoseinfar1385 | Escape Route 2 (JOI24_escape2) | C++17 | 1643 ms | 310400 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include<bits/stdc++.h>
using namespace std;
#pragma GCC optimize("O3,unroll-loops")
#pragma GCC target("avx2")
const int maxn=100000+10,maxq=300000+10,lg=20,sq=100,msq=maxn/sq+10;
int t,n,q;
long long inf=1e16;
vector<pair<int,int>>all[maxn];
vector<int>dp[maxn],lnk[lg][maxn],allp;
vector<long long>wlnk[lg][maxn];
long long res[msq][maxn];
vector<long long>allz[maxn];
void vorod(){
cin>>n>>t;
for(int i=1;i<n;i++){
int d;
cin>>d;
all[i].resize(d);
if(d>=sq){
allp.push_back(i);
}
for(int j=0;j<d;j++){
cin>>all[i][j].first>>all[i][j].second;
}
sort(all[i].begin(),all[i].end());
dp[i].resize(d);
for(int j=0;j<lg;j++){
lnk[j][i].resize(d);
wlnk[j][i].resize(d);
# | 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... |