Search posts, tags, users, and pages
Omprakash Sridharan
Software Developer
Problem URL: Wrong Subtraction use std::io; fn main(){ let mut input_text = String::new(); io::stdin().read_line(&mut input_text).expect("failed to read from stdin"); let inputs: Vec<u32> = input_text.trim().split(" ").map(|x|{ ...
j
stuff ;)
you should write a bit more, of what you're doing. Also certain assumptions are not correct, but I guess this was just a 'let me apply the alogrithm thingy'. maybe add rustfmt and clippy to your toolchain as well.
Sure J, yes it was kind of "let me solve it". Thank you for your suggestions, will do that in my upcoming posts.
j
stuff ;)
you should write a bit more, of what you're doing. Also certain assumptions are not correct, but I guess this was just a 'let me apply the alogrithm thingy'. maybe add rustfmt and clippy to your toolchain as well.