This documentation is automatically generated by competitive-verifier/competitive-verifier
#define PROBLEM \
"https://judge.yosupo.jp/problem/static_range_frequency"
#include "daylight/base.hpp"
#include "daylight/structure/wavelet_matrix.hpp"
int main() {
int N, Q;
cin >> N >> Q;
vll A(N);
cin >> A;
WaveletMatrix wm(A);
REP(i, Q) {
int l, r, x;
cin >> l >> r >> x;
cout << wm.rangeFreq(l, r, x) << endl;
}
return 0;
}
Traceback (most recent call last):
File "/home/runner/.local/lib/python3.10/site-packages/competitive_verifier/oj_resolve/resolver.py", line 181, in resolve
bundled_code = language.bundle(path, basedir=basedir)
File "/home/runner/.local/lib/python3.10/site-packages/competitive_verifier/oj/verify/languages/cplusplus.py", line 252, in bundle
bundler.update(path)
File "/home/runner/.local/lib/python3.10/site-packages/competitive_verifier/oj/verify/languages/cplusplus_bundle.py", line 482, in update
self.update(
File "/home/runner/.local/lib/python3.10/site-packages/competitive_verifier/oj/verify/languages/cplusplus_bundle.py", line 477, in update
raise BundleErrorAt(
competitive_verifier.oj.verify.languages.cplusplus_bundle.BundleErrorAt: daylight/base.hpp: line 103: unable to process #include in #if / #ifdef / #ifndef other than include guards
| Env | Name | Status | Elapsed | Memory |
|---|---|---|---|---|
| g++ | example_00 |
|
6 ms | 3 MB |
| g++ | random_00 |
|
2715 ms | 157 MB |
| g++ | random_01 |
|
3461 ms | 185 MB |
| g++ | random_02 |
|
1300 ms | 25 MB |
| g++ | random_03 |
|
3424 ms | 199 MB |
| g++ | random_04 |
|
4567 ms | 199 MB |
| g++ | random_05 |
|
4336 ms | 206 MB |
| g++ | small_n_00 |
|
790 ms | 3 MB |
| g++ | small_n_01 |
|
856 ms | 3 MB |
| g++ | small_n_02 |
|
871 ms | 3 MB |
| g++ | small_q_00 |
|
376 ms | 199 MB |