# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
71307 | octopuses | 매트 (KOI15_mat) | C++17 | 54 ms | 30788 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.
//Giorgi Kldiashvili
#include <bits/stdc++.h>
#define ll long long
using namespace std;
const int N = 3020;
struct node
{
int l, r, h, c;
};
bool operator < (node a, node b)
{
if(a.r == b.r)
return a.l < b.l;
return a.r < b.r;
}
int tot, H, n, m;
bool check(node a, node b)
{
if(a.r <= b.l || b.r <= a.l)
return false;
if(a.h + b.h > H)
return true;
return false;
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... |