# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
139911 | bogdan10bos | Horses (IOI15_horses) | C++14 | 915 ms | 49944 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>
#include "horses.h"
using namespace std;
const int NMAX = 5e5 + 5;
const int mod = 1e9 + 7;
int N, X[NMAX], Y[NMAX];
namespace SegmentTree
{
int N;
vector<double> lg, lgadd;
vector<int> aint, aintadd;
int sti, dri;
double lgval;
int val;
void B(int nod, int st, int dr)
{
lg[nod] = lgadd[nod] = 0;
aint[nod] = aintadd[nod] = 1;
if(st == dr) return;
int mij = st + (dr - st) / 2;
B(nod * 2, st, mij);
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... |