# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
332288 | alien_lover | Palembang Bridges (APIO15_bridge) | C++14 | 343 ms | 14440 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <iostream>
#include <vector>
#include <algorithm>
#include <set>
#include <climits>
using namespace std;
typedef long long ll;
#define all(x) begin(x), end(x)
#define sz(x) (int) x.size()
const int PRIME = 1e9 + 7;
bool locationCmp(pair<int, int>& a, pair<int, int>& b){
// close to overflow
return a.first + a.second < b.first + b.second;
}
template<class T>
vector<ll> calcDist(T start, T end, int size){
vector<ll> out(size);
int ind = 0;
multiset<int> smaller, bigger;
smaller.insert(start->first); bigger.insert(start->second);
ll smallSum, bigSum;
smallSum = start->first; bigSum = start->second;
# | 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... |