# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
977501 | tnknguyen_ | Janjetina (COCI21_janjetina) | C++14 | 381 ms | 16740 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
/**
* @file main.cpp
* @author tnknguyen_ (nguyenngockhoitran@gmail.com)
* @date 08-05-2024
*
* @copyright Copyright (c) 2024
* https://oj.vnoi.info/problem/coci2021_r4_janjetina
*/
#include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define ll long long
#define len(s) (int)s.size()
#define pii pair<int, int>
//#define int long long
struct BIT{
int n;
vector<ll> f;
BIT(int N = 1e5): n(N+5), f(N+5, 0) {};
void update(int i, int val){
++i;
while(i < n){
f[i] += val;
i += (i & -i);
}
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |