This documentation is automatically generated by competitive-verifier/competitive-verifier
// competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/min_plus_convolution_convex_arbitrary
#include <iostream>
#include <vector>
#include "fft/monotone_minima.hpp"
int main(void) {
int n, m;
std::cin >> n >> m;
std::vector<int> a(n), b(m);
for (auto &e : a) std::cin >> e;
for (auto &e : b) std::cin >> e;
auto ans = min_plus_convolution(b, a);
for (int i = 0; i < (int)ans.size(); ++i)
std::cout << ans[i] << (i == (int)ans.size() - 1 ? '\n' : ' ');
return 0;
}
Traceback (most recent call last):
File "/home/runner/.local/lib/python3.12/site-packages/competitive_verifier/oj/resolver.py", line 291, in resolve
bundled_code = language.bundle(path, basedir=basedir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/runner/.local/lib/python3.12/site-packages/competitive_verifier/oj/verify/languages/cplusplus.py", line 242, in bundle
bundler.update(path)
File "/home/runner/.local/lib/python3.12/site-packages/competitive_verifier/oj/verify/languages/cplusplus_bundle.py", line 479, in update
self._resolve(pathlib.Path(included), included_from=path)
File "/home/runner/.local/lib/python3.12/site-packages/competitive_verifier/oj/verify/languages/cplusplus_bundle.py", line 286, in _resolve
raise BundleErrorAt(path, -1, "no such header")
competitive_verifier.oj.verify.languages.cplusplus_bundle.BundleErrorAt: fft/monotone_minima.hpp: line -1: no such header
| Env | Name | Status | Elapsed | Memory |
|---|---|---|---|---|
| g++ | example_00 |
|
3 ms | 3 MB |
| g++ | hack_00 |
|
2 ms | 4 MB |
| g++ | large_small_00 |
|
182 ms | 7 MB |
| g++ | large_small_01 |
|
184 ms | 7 MB |
| g++ | large_small_02 |
|
205 ms | 7 MB |
| g++ | large_small_03 |
|
209 ms | 7 MB |
| g++ | max_random_00 |
|
386 ms | 11 MB |
| g++ | max_random_01 |
|
368 ms | 11 MB |
| g++ | max_random_02 |
|
370 ms | 11 MB |
| g++ | med_random_00 |
|
3 ms | 4 MB |
| g++ | med_random_01 |
|
2 ms | 3 MB |
| g++ | med_random_02 |
|
2 ms | 4 MB |
| g++ | monotone_00 |
|
364 ms | 11 MB |
| g++ | monotone_01 |
|
393 ms | 11 MB |
| g++ | monotone_02 |
|
363 ms | 11 MB |
| g++ | monotone_03 |
|
362 ms | 11 MB |
| g++ | near_power_of_2_00 |
|
185 ms | 7 MB |
| g++ | near_power_of_2_01 |
|
199 ms | 7 MB |
| g++ | near_power_of_2_02 |
|
185 ms | 7 MB |
| g++ | near_power_of_2_03 |
|
192 ms | 7 MB |
| g++ | near_power_of_2_04 |
|
187 ms | 7 MB |
| g++ | near_power_of_2_05 |
|
187 ms | 7 MB |
| g++ | near_power_of_2_06 |
|
202 ms | 7 MB |
| g++ | near_power_of_2_07 |
|
185 ms | 7 MB |
| g++ | near_power_of_2_08 |
|
184 ms | 7 MB |
| g++ | only_first_small_00 |
|
373 ms | 11 MB |
| g++ | only_first_small_01 |
|
372 ms | 11 MB |
| g++ | random_00 |
|
309 ms | 9 MB |
| g++ | random_01 |
|
309 ms | 10 MB |
| g++ | random_02 |
|
158 ms | 7 MB |
| g++ | small_00 |
|
2 ms | 3 MB |
| g++ | small_01 |
|
2 ms | 4 MB |
| g++ | small_02 |
|
2 ms | 4 MB |
| g++ | small_03 |
|
2 ms | 3 MB |
| g++ | small_04 |
|
2 ms | 4 MB |
| g++ | small_05 |
|
2 ms | 3 MB |
| g++ | small_06 |
|
2 ms | 3 MB |
| g++ | small_07 |
|
2 ms | 3 MB |
| g++ | small_08 |
|
2 ms | 3 MB |
| g++ | small_slopes_00 |
|
399 ms | 11 MB |
| g++ | small_slopes_01 |
|
369 ms | 11 MB |