let 三 = 3_u32;
(1..=三).map(|x| (10 * x - 三).pow(x)).product::<u32>() / 三.pow(三).pow(三)
[1]
Happy new year everybody!
let 三 = 3_u32;
(1..=三).map(|x| (10 * x - 三).pow(x)).product::<u32>() / 三.pow(三).pow(三)
[1]
Happy new year everybody!
Well, if you want to be weird...
struct ﻝ {}
impl ﻝ {
pub fn ﺍ() {
println!("Happy New Year!");
}
}
fn main() {
ﻝ::ﺍ();
}
or why Unicode should not be allowed in source code
Is this Herf from Aurebesh???
Or maybe
(0..三).map(|x| (三 + x * 三 + x.pow(三)).pow(x)).product::<u32>()
Want a powerful property of 7s, too?
let 七 = 7_u32;
七.pow(七) % (1..=七).product::<u32>()
For readers who understand neither 漢字 nor Unicode datasheets: that's the Chinese character for 3.
It's also Japanese for 3, which might be a more fitting interpretation given the difference in date between Japanese New Year and Chinese New Year.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.