This documentation is automatically generated by online-judge-tools/verification-helper
View the Project on GitHub online-judge-tools/verification-helper
# verification-helper: PROBLEM https://judge.yosupo.jp/problem/unionfind include "examples/nim/headers.nim" from examples/nim/union_find_tree import unite_trees, initUnionFindTree, is_same let n,q = nextInt() var uft = initUnionFindTree(n) for i in 0..<q: let t, u, v = nextInt() if t == 0: uft.unite_trees(u, v) elif t == 1: echo if uft.is_same(u, v): 1 else: 0
Traceback (most recent call last): File "/home/runner/.local/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 "/home/runner/.local/lib/python3.10/site-packages/onlinejudge_verify/languages/nim.py", line 86, in bundle raise NotImplementedError NotImplementedError