| Problem | redblacktree |
|---|---|
| User | YSH2020 |
| Submission Time | 2026-04-25 11:55:37 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
redblacktree.cpp:3:13: error: expected ‘,’ or ‘;’ before ‘long’
3 | #define int long long
| ^~~~
redblacktree.cpp:5:1: note: in expansion of macro ‘int’
5 | int par[MAXN][2];
| ^~~
redblacktree.cpp: In function ‘long long int getp(long long int, long long int)’:
redblacktree.cpp:10:6: error: ‘par’ was not declared in this scope; did you mean ‘__pstl::execution::v1::par’?
10 | if (par[n][t] == n) return n;
| ^~~
| __pstl::execution::v1::par
In file included from /usr/include/c++/9/pstl/glue_algorithm_defs.h:15,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from redblacktree.cpp:1:
/usr/include/c++/9/pstl/execution_defs.h:114:27: note: ‘__pstl::execution::v1::par’ declared here
114 | constexpr parallel_policy par{};
| ^~~
redblacktree.cpp: In f