摘要: Rc<T>/RefCell<T>用于单线程内部可变性, Arc<T>/Mutex<T>用于多线程内部可变性。 阅读全文
posted @ 2022-08-09 10:41 CrossPython 阅读(128) 评论(0) 推荐(0)
摘要: const DEST:(usize, usize) = (7,9); fn try_way(pre:(usize, usize), curr:(usize, usize), map:&[[i32;10];10], route:&mut Vec<(usize, usize)>){ let up:(us 阅读全文
posted @ 2022-08-09 09:55 CrossPython 阅读(29) 评论(0) 推荐(0)