phpecho dechexoctdectrimfgetsSTDIN;转换成Rust
let mut input = String::new(); std::io::stdin().read_line(&mut input).unwrap(); let dec = i32::from_str_radix(input.trim(), 8).unwrap(); let hex = format!("{:X}", dec); println!("{}", hex);
原文地址: https://www.cveoy.top/t/topic/iSLI 著作权归作者所有。请勿转载和采集!