This documentation is automatically generated by competitive-verifier/competitive-verifier
#define PROBLEM "https://yukicoder.me/problems/no/674"
#include "daylight/base.hpp"
#include "daylight/range.hpp"
#include "daylight/structure/range_set.hpp"
int main() {
ll D, Q;
cin >> D >> Q;
ll ans = 0;
RangeSet<ll> rs;
while(Q--) {
ll A, B;
cin >> A >> B;
auto r = Range<>().left(A).right(B + 1, false);
auto ret = rs.add(r);
if(ret) chmax(ans, ret.value().countIntegerPoint());
cout << ans << 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++ | sample1.txt |
|
6 ms | 3 MB |
| g++ | sample2.txt |
|
5 ms | 3 MB |
| g++ | sample3.txt |
|
6 ms | 3 MB |
| g++ | test1.txt |
|
5 ms | 3 MB |
| g++ | test10.txt |
|
14 ms | 3 MB |
| g++ | test11.txt |
|
106 ms | 3 MB |
| g++ | test12.txt |
|
99 ms | 3 MB |
| g++ | test13.txt |
|
102 ms | 3 MB |
| g++ | test14.txt |
|
80 ms | 4 MB |
| g++ | test15.txt |
|
136 ms | 4 MB |
| g++ | test16.txt |
|
68 ms | 4 MB |
| g++ | test17.txt |
|
72 ms | 3 MB |
| g++ | test2.txt |
|
6 ms | 3 MB |
| g++ | test3.txt |
|
6 ms | 3 MB |
| g++ | test4.txt |
|
6 ms | 3 MB |
| g++ | test5.txt |
|
5 ms | 3 MB |
| g++ | test6.txt |
|
5 ms | 3 MB |
| g++ | test7.txt |
|
5 ms | 3 MB |
| g++ | test8.txt |
|
6 ms | 3 MB |
| g++ | test9.txt |
|
12 ms | 3 MB |