This documentation is automatically generated by online-judge-tools/verification-helper
# verification-helper: PROBLEM https://onlinejudge.u-aizu.ac.jp/problems/ITP1_4_A
# verification-helper: ERROR 1e-5
import sequtils, strutils
import cplib/utils/binary_search
var a, b: int
(a, b) = stdin.readLine.split.map(parseInt)
var div_int = meguru_bisect(0, a+1, proc(x: int): bool = a >= b * x)
var rem = a - b * div_int
var div_flaot = meguru_bisect(0.0, float64(a + 1), proc(x: float64): bool = (float64(a) >= float64(b) * x))
echo div_int, " ", rem, " ", div_flaot
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