# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
90696 | Milki | Mostovi (COI14_mostovi) | C++14 | 207 ms | 10180 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include<bits/stdc++.h>
using namespace std;
#define FOR(i, a, b) for(int i = a; i < b; ++i)
#define REP(i, n) FOR(i, 0, n)
#define _ << " " <<
#define sz(x) ((int) x.size())
#define pb(x) push_back(x)
typedef long long ll;
typedef pair<int, int> point;
const int inf = 2e9 + 5;
int n, m;
set <int> up, down;
set <point> mostUp, mostDown;
bool istiUp(int x, int y){
if(x > y) return false;
auto it = up.upper_bound(x);
if(y < *it) return true;
return false;
}
bool istiDown(int x, int y){
if(x < y) return false;
auto it = down.lower_bound(x); it --;
if(y > *it) return true;
return false;
컴파일 시 표준 에러 (stderr) 메시지
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |