Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #![allow(unused)]
- fn main() {
- let x : i64 = 1928374857361;
- println!("{}", x.to_string().chars().map(|d| d.to_digit(10).unwrap()).collect().len() as u32);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement