# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1173223 | DangKhoizzzz | Divide and conquer (IZhO14_divide) | C++17 | 1 ms | 1856 KiB |
// luu code de debug
#include <bits/stdc++.h>
#define int long long
#define fi first
#define se second
#define pii pair <int , int>
#define arr3 array <int , 3>
using namespace std;
const int INF = 1e18 + 7;
const int maxn = 2e5 + 7;
int n , pre[maxn] , pre1[maxn] , pre2[maxn];
arr3 a[maxn];
struct Fenwick_Tree
{
vector <int> bit;
void init()
{
bit.assign(maxn+5 , INF);
}
void update(int pos , int val)
{
while(pos <= 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... |