verify/tmpl/fastio_global_checksum_test.nim

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

:heavy_check_mark: verify/tmpl/fastio_global_checksum_test.nim

Depends on

Code

# verification-helper: PROBLEM https://yukicoder.me/problems/no/3677

include cplib/tmpl/fastio

let height = input(int)
let width = input(int)
var sums = newSeq[uint32](height)
var total = 0'u32
for row in 0 ..< height:
    var rowSum = 0'u32
    for column in 0 ..< width:
        rowSum += input(uint32)
    sums[row] = rowSum
    total += rowSum
for row in 0 ..< height:
    sums[row] += total
print(*sums, sep = "\n")
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