# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
380612 | VodkaInTheJar | Election (BOI18_election) | C++14 | 1915 ms | 198908 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
#pragma GCC optimize("O3")
#define endl '\n'
using namespace std;
const int maxn = 5e5 + 3;
int n, q;
string s;
void read()
{
cin >> n >> s >> q;
}
struct node
{
int to_delete, sum, min_suffix;
node() {to_delete = sum = min_suffix = 0;}
node(int to_delete, int sum, int min_suffix)
{
this->to_delete = to_delete;
this->sum = sum;
this->min_suffix = min_suffix;
}
};
vector <node> tr[maxn * 4];
void build(int v, int l, int r)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |