# | 제출 시각UTC-0 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
76323 | kig9981 | 조화행렬 (KOI18_matrix) | C++17 | 2820 ms | 787456 KiB |
이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
#ifdef NON_SUBMIT
#define TEST(n) (n)
#else
#define TEST(n) ((void)0)
#endif
using namespace std;
struct Seg2D
{
int xp, yp, xl, xr, yl, yr, v;
Seg2D() : xp(0), yp(0), xl(0), xr(0), yl(0), yr(0), v(0) {}
};
vector<Seg2D> tree(2);
vector<int> X, Y;
vector<tuple<int, int, int>> V;
int mN;
void CreateNode(int n, int b, int p, int s, int e)
{
while (s < e) {
int m = (s + e) >> 1;
if (n <= m) {
if (tree[b].yl == 0) {
tree[b].yl = tree.size();
tree.push_back(Seg2D());
tree[tree[b].yl].yp = b;
컴파일 시 표준 에러 (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... |