solutions: 617A

This commit is contained in:
Muhammad Nauman Raza 2025-01-29 16:58:34 +00:00
parent 3c0bbb7e52
commit 326313c2d2
Signed by: devraza
GPG key ID: 91EAD6081011574B

View file

@ -0,0 +1,16 @@
use std::io;
fn main() {
let mut s = String::new();
io::stdin().read_line(&mut s).unwrap();
let steps = s.trim().parse::<u64>().unwrap();
let mut count = 0;
count += steps / 5;
if steps % 5 != 0 {
count += 1;
}
println!("{}", count);
}