This documentation is automatically generated by online-judge-tools/verification-helper
import numpy
import os
import random
import subprocess
class interactor:
def __init__(self, exec):
self.proc = subprocess.Popen([exec], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
def __del__(self):
self.proc.terminate()
def write(self, x):
self.proc.stdin.write((str(x) + '\n').encode('utf-8'))
self.proc.stdin.flush()
def read(self):
return self.proc.stdout.readline().decode('utf-8').strip()
def poll(self):
return self.proc.poll()
def wait(self):
return self.proc.wait()
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.10.5/x64/lib/python3.10/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.10.5/x64/lib/python3.10/site-packages/onlinejudge_verify/languages/python.py", line 96, in bundle
raise NotImplementedError
NotImplementedError