# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
491672 | uncripted | XORanges (eJOI19_xoranges) | C++11 | 490 ms | 7932 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include<bits/stdc++.h>
using namespace std;
int fl[400000];
int fk[400000];
int a[300000];
int n,q;
void updatel(int s, int x){
while(s<=n){
fl[s]=fl[s]^x;
s+=s&(-s);
}
}
int getl(int s){
int sum=0;
while(s>0){
sum=sum^fl[s];
s-=s&(-s);
}
return sum;
}
void updatek(int s, int x){
while(s<=n){
fk[s]=fk[s]^x;
s+=s&(-s);
}
}
int getk(int s){
int sum=0;
# | 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... |