# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
772264 | danikoynov | Potatoes and fertilizers (LMIO19_bulves) | C++14 | 264 ms | 39568 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 <iostream>
#include <set>
#include <cassert>
#include <numeric>
#include <bits/stdc++.h>
#define endl '\n'
#define int long long
typedef long long ll;
using namespace std;
struct slope_trick
{
const ll inf = 9223372036854775807ll;
std::multiset < ll > left_set, right_set;
ll height;
slope_trick()
{
height = 0;
}
ll get_right()
{
if (right_set.empty())
return inf;
return *right_set.begin();
}
ll get_left()
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... |