verify/str/static_string/static_string_count_test_.nim

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

:warning: verify/str/static_string/static_string_count_test_.nim

Depends on

Code

# verification-helper: PROBLEM https://atcoder.jp/contests/abc362/tasks/abc362_g
import cplib/str/static_string
import strutils
var S = stdin.readLine()
var Q = stdin.readLine().parseInt()
var SB = initStaticStringBase(S)
for i in 0..<Q:
    var T = stdin.readLine()
    stdout.writeLine(SB.count(T))
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