SHARE
TWEET

Untitled

a guest Oct 13th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fn n(s: &str) -> String {
  2.     s
  3.         .split(" ")
  4.         .collect::<Vec<_>>()
  5.         .iter()
  6.         .fold("".to_string(), |a, b| {
  7.             a + &"rothuvsein"
  8.                 .find(format!("{}{}{}", b, b, b).as_bytes()[6] as char)
  9.                 .unwrap()
  10.                 .to_string()
  11.         })
  12. }
  13.  
  14. fn main() {
  15.     let r = n("four two one zero");
  16.     print!("{}", r);
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top