# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
242026 | Coroian_David | Wall (IOI14_wall) | C++11 | 906 ms | 77580 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 "wall.h"
#define MAX_N 2000000
using namespace std;
const int MAX = 100000;
const int MIN = 0;
int rez[MAX_N + 1];
struct aint
{
int st, dr;
};
aint arb[(MAX_N << 2) + 1];
void upd(int poz, int st, int dr, int a, int b, int x, int y)
{
//cout << "FACEM UPD " << poz << " " << st << " " << dr << " " << " INterv " << a << " " << b << " BVAL " << x << " " << y << "\n";
if(st == a && dr == b)
{
if(x > arb[poz].dr)
{
arb[poz] = {x, x};
}
# | 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... |