1 2 3 4 5 6 7 8 9 10 11
fn main() { println!("Hello, world!"); } struct Solution; impl Solution { pub fn is_same_after_reversals(num: i32) -> bool { num == 0 || num % 10 != 0 } }