# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
282290 | peijar | Jakarta Skyscrapers (APIO15_skyscraper) | C++17 | 972 ms | 25984 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>
using namespace std;
#define SZ(v) ((int)(v).size())
using ll = long long;
const int MAX = 3e4;
const int SQRT = 175;
int nbSauts[MAX][SQRT+1];
struct Situation
{
int building, power, sauts;
bool operator<(Situation other) const
{
return sauts > other.sauts;
}
};
int main(void)
{
ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
int nbBat, nbDog;
cin >> nbBat >> nbDog;
vector<pair<int, int> > dogs(nbDog);
set<int> dogsInBat[MAX];
# | 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... |