#[no_mangle]
pub extern "stdcall" fn rustforin() {
let mut sum = String::new();
for i in 1..=99 {
for j in 1..=99 {
for k in 1..99 {
if i == j || i == k || j == k {
} else {
sum += &format!("{:02} {:02} {:02}\r\n", i, j, k);
}
}
}
}
let mut file = std::fs::File::create("三位数.txt").expect("创建失败");
file.write_all(sum.as_bytes()).expect("创建失败");
}