This documentation is automatically generated by competitive-verifier/competitive-verifier
#define PROBLEM \
"https://judge.yosupo.jp/problem/static_range_sum"
#include "daylight/base.hpp"
#include "daylight/range_sum.hpp"
int main() {
int N, Q;
cin >> N >> Q;
vll A(N);
cin >> A;
RangeSum<ll> RS(A);
while(Q-- > 0) {
int L, R;
cin >> L >> R;
cout << RS.sum(L, R) << endl;
}
}
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++ | max_random_00 |
|
952 ms | 11 MB |
| g++ | max_random_01 |
|
883 ms | 11 MB |
| g++ | max_random_02 |
|
894 ms | 11 MB |
| g++ | max_random_03 |
|
928 ms | 11 MB |
| g++ | max_random_04 |
|
945 ms | 11 MB |
| g++ | random_00 |
|
759 ms | 9 MB |
| g++ | random_01 |
|
796 ms | 10 MB |
| g++ | random_02 |
|
617 ms | 4 MB |
| g++ | random_03 |
|
173 ms | 10 MB |
| g++ | random_04 |
|
258 ms | 8 MB |