This documentation is automatically generated by online-judge-tools/verification-helper
from pathlib import Path
# gen.py のディレクトリの相対パス
gen_dir = Path(__file__).resolve().parent
header_dir = Path('.')
master_header = header_dir / 'all_includes.hpp'
header_files = []
for filepath in header_dir.rglob('*.hpp'):
if filepath.name == 'all_includes.hpp':
continue
if 'ac-library' in filepath.parts:
continue
include_path = f'/home/pomelo/github.com/mkreem_library/{filepath.relative_to(header_dir).as_posix()}'
header_files.append(include_path)
with master_header.open('w') as f:
f.write('#ifndef all_includes_HPP\n')
f.write('#define all_includes_HPP\n\n')
for header in sorted(header_files):
f.write(f'#include "{header}"\n')
f.write('\n#endif // all_includes_HPP\n')
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/documentation/build.py", line 71, in _render_source_code_stat
bundled_code = language.bundle(stat.path, basedir=basedir, options={'include_paths': [basedir]}).decode()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/onlinejudge_verify/languages/python.py", line 96, in bundle
raise NotImplementedError
NotImplementedError