This documentation is automatically generated by online-judge-tools/verification-helper
# noqa: E501 # verify-helper: PROBLEM https://onlinejudge.u-aizu.ac.jp/courses/library/5/GRL/2/GRL_2_A
from cpl.graph.mst_kruskal import mst_kruskal
def main() -> None:
V, _, *stw = map(int, open(0).read().split())
edges = [(s, t, w) for s, t, w in zip(*[iter(stw)] * 3)]
ans, _ = mst_kruskal(V, edges)
print(ans)
if __name__ == "__main__":
main()
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.9.2/x64/lib/python3.9/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.9.2/x64/lib/python3.9/site-packages/onlinejudge_verify/languages/python.py", line 96, in bundle
raise NotImplementedError
NotImplementedError