# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
475352 | ismoilov | Bootfall (IZhO17_bootfall) | C++14 | 279 ms | 49124 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define IOS ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
const int maxx = 505;
vector <int> ach[maxx*4];
bitset<maxx*maxx> pos[maxx*4];
//node tr[maxx*4];
bitset <maxx*maxx> out[maxx];
void update(int l, int r, int tl, int tr, int id, int val){
// cout << tl << " " << tr << " " << val << " done\n";
if(l > tr || r < tl)
return;
if(l >= tl && r <= tr){
ach[id].push_back(val);
// cout << "added " << l << " " << r << " " << id << "\n";
return;
}
int m = (l + r) / 2;
update(l, m, tl, tr, id+id, val);
update(m+1, r, tl ,tr, id+id+1, val);
// cout << "finally\n";
}
# | 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... |