# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
370874 | kimbj0709 | Examination (JOI19_examination) | C++14 | 825 ms | 54896 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
#define maxn 400050
#define f first
#define s second
void updatee(int b,int c,vector<int> &fenwick){
int temp = b+1;
//cout << "YES" << endl;
while(temp<fenwick.size()){
fenwick[temp] += c;
temp += temp & (-temp);
}
}
int getsum(int a,int b,vector<int> &fenwick){
int temp = b+1;
int total = 0;
while(temp!=0){
total += fenwick[temp];
temp -= temp & (-temp);
}
int idk = a;
while(idk!=0){
total -= fenwick[idk];
idk -= idk & (-idk);
}
return total;
}
vector<pair<int,int> > nums;
vector<vector<int> > vals(maxn);
vector<vector<int> > segs(maxn);
컴파일 시 표준 에러 (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... |