# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
167485 | muhammad_hokimiyon | Jakarta Skyscrapers (APIO15_skyscraper) | C++14 | 461 ms | 131756 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>
//#pragma GCC optimize("Ofast")
#define fi first
#define se second
#define ll long long
using namespace std;
const int N = 1e6 + 7;
const int mod = 1e9 + 7;
int n,m;
int a[N];
int b[N];
int d[N];
int h[N];
int t[N];
set < int > s[N];
vector < pair < int , int > > v[N];
void solve()
{
cin >> n >> m;
for( int i = 0; i < m; i++ ){
cin >> a[i] >> b[i];
s[a[i]].insert(b[i]);
}
for( int i = 0; i <= n; i++ )d[i] = 1e9;
# | 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... |