# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1125419 | ASN49K | Jakarta Skyscrapers (APIO15_skyscraper) | C++20 | 2 ms | 2632 KiB |
#include <bits/stdc++.h>
using namespace std;
#define all(x) x.begin(),x.end()
#define pb push_back
#define bug(a) std::cerr << "(" << #a << ": " << a << ")\n";
using i64 = long long;
const int N=100'000;
struct cord
{
int pos,step;
bool operator <(const cord &b)const
{
if(pos==b.pos)
{
return step<b.step;
}
return pos<b.pos;
}
bool operator ==(const cord &b)const
{
return pos==b.pos && step==b.step;
}
};
map<cord , int>dist;
vector<int>adj[N];
int main()
{
ios::sync_with_stdio(false);
# | 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... |