verify/str/static_string/static_string_zalgo_test.nim

This documentation is automatically generated by online-judge-tools/verification-helper

:heavy_check_mark: verify/str/static_string/static_string_zalgo_test.nim

Depends on

Code

# verification-helper: PROBLEM https://judge.yosupo.jp/problem/zalgorithm
import cplib/str/static_string

import algorithm,sequtils,strutils
var S = stdin.readLine().toStaticString()
var ans : seq[int]
for i in 0..<len(S):
    ans.add(lcp(S,S[i..<len(S)]))

echo ans.join(" ")
Traceback (most recent call last):
  File "/home/runner/.local/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 "/home/runner/.local/lib/python3.12/site-packages/onlinejudge_verify/languages/nim.py", line 86, in bundle
    raise NotImplementedError
NotImplementedError
Back to top page