# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
784839 | cadmiumsky | 고대 책들 (IOI17_books) | C++17 | 2108 ms | 405860 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
#define all(x) (x).begin(),(x).end()
using namespace std;
using ll = long long;
using ld = long double;
//#define int ll
#define sz(x) ((int)(x).size())
using pii = pair<int,int>;
using tii = tuple<int,int,int>;
const int nmax = 1e6 + 5, inf = 1e18 + 5;
int n;
namespace G {
vector<vector<pii>> g;
void init(int dim) { g.resize(dim, vector<pii>()); }
int newnode() { g.emplace_back(); return sz(g) - 1; }
void addedge(int x, int y, int z) {
g[x].emplace_back(y, z);
}
namespace AINT {
int aint[(nmax + nmax / 2) * 2];
void init(int node = 1, int cl = 0, int cr = n - 1) {
if(cl == cr) {
aint[node] = cl;
컴파일 시 표준 에러 (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... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |