# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
173751 | gs18103 | Port Facility (JOI17_port_facility) | C++14 | 4835 ms | 171412 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
#define fi first
#define se second
#define eb emplace_back
#define em emplace
#define all(v) v.begin(), v.end()
using namespace std;
typedef long long ll;
typedef pair <int, int> pii;
typedef pair <ll, ll> pll;
const int MAX = 1010101;
const int INF = 1e9;
const ll LINF = 1e18;
const int mod = 1e9+7;
struct containor {
int s, e, c;
} arr[MAX];
int idx1[2*MAX], idx2[2*MAX], n;
struct SEG {
vector <pii> tree;
void init(int n) {
tree.resize(4*n+10);
for(int i = 0; i < tree.size(); i++) tree[i] = make_pair(-INF, 0);
}
void update(int node, int s, int e, int k, int val) {
if(s == e) {
컴파일 시 표준 에러 (stderr) 메시지
# | 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... |