Untitled
KNN K近邻算法
Rust
Rust学习笔记 在2025年的暑假,打算学习Rust这门编程语言,就是闲的没事做,下面是我的一些闲笔总结 [快速入门 - 程序设计训练(Rust)]:清华大学Rust程序设计主页 [寻找牛刀,以便小试 - Rust语言圣经(Rust Course)]:Rust圣经 基本语法1234fn main(){ let a: i32 = 5; let mut a = 10;} 首先就是Rust语言中的变量赋值:使用let语句,后加变量名,后加变量类型,最后赋值。可以前加mut关键字修饰这个变量是可变的,否则修改不可改变变量的值将引起编译错误。 Rust中的表达式 1234567891011fn main() { let a:i32 = 5; let flag:bool = check(a); print!("{}", flag);}fn check(number:i32) -> bool{ number % 2 == 0 //return...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment