# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
815743 | hohoho | Ekoeko (COCI21_ekoeko) | C++14 | 59 ms | 7500 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.
#include <bits/stdc++.h>
using namespace std;
const int N = (1e5 + 5) * 2;
int n, cnt[26];
long long ans;
string str;
vector<char> strv;
vector<int> indx[26], v;
void up(int* Tree, int index, int s, int e, int num)
{
if (s == num and e == num) {
Tree[index] = 1;
return;
}
if (num < s or num > e) {
return;
}
int mid = (s + e) >> 1;
up(Tree, 2 * index, s, mid, num);
up(Tree, 2 * index + 1, mid + 1, e, num);
# | 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... |