verification-helper

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

View the Project on GitHub online-judge-tools/verification-helper

:heavy_check_mark: examples/rust/crates/io/input/src/lib.rs

Depends on

Required by

Verified with

Code

//! A limited `input!` macro.
//!
//! ```no_run
//! use input::input;
//!
//! input! {
//!     a: u32,
//!     b: u32,
//! }
//! ```

pub use scanner::Scanner;

/// A limited `input!` macro.
#[macro_export]
macro_rules! input {
    ($($var:ident : $ty:ty),* $(,)?) => {
        let mut __scanner = $crate::Scanner::from_stdin();
        $(
            let $var = __scanner.read::<$ty>();
        )*
    };
}
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/rust.py", line 288, in bundle
    raise NotImplementedError
NotImplementedError
Back to top page