# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1119987 | Tenis0206 | Text editor (CEOI24_editor) | C++11 | 1803 ms | 982420 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>
#define int long long
using namespace std;
const int oo = LLONG_MAX;
const int nmax = 1e6;
int n;
int l[nmax + 5];
int sl, sc, el, ec;
int *d[nmax + 5];
bool *sel[nmax + 5];
vector<int> c;
int get_poz(int val)
{
int st = 0;
int dr = c.size() - 1;
int poz = 0;
while(st <= dr)
{
int mij = (st + dr) >> 1;
if(c[mij] <= val)
{
poz = mij;
st = mij + 1;
Compilation message (stderr)
# | 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... |