Ad
  • Default User Avatar

    [Rust 1.3]

    I implemented it, tested with the first 2 cases and it worked.
    I pasted it to check all sample tests, but it outputs:

    error[E0425]: cannot find function `boolfuck` in this scope
      --> src/lib.rs:65:20
       |
    65 |         assert_eq!
    

    And below.

       |                    ^^^^^^^^ not found in this scope
    help: possible candidate is found in another module, you can import it into scope
       |
    1  | use boolfuck;
       |
    

    My function's header is:

    fn boolfuck(code: &str, input: Vec<u8>) -> Vec<u8>
    

    I tried using the boolfuck module, but it errored, or I don't know how to use it.