# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
45931 | TheDarkning | Jakarta Skyscrapers (APIO15_skyscraper) | C++14 | 882 ms | 15220 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 fr first
#define sc second
#define OK puts("OK");
#define pb push_back
#define mk make_pair
#define int long long
using namespace std;
typedef long long ll;
const int inf = (int)1e15 + 7;
const int N = (int)2e5 + 7;
int n,m;
int b[N],p[N];
int d[N];
vector <int> vec[N];
vector <pair<int,int> > g[N];
priority_queue<pair<int,int> > q;
bool check (int l,int r,int x) {
if (abs(r - l) % x == 0)
return true;
return false;
}
int f (int l,int r,int x) {
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... |