01 2022 档案
摘要:#[cfg] #[cfg]允许我们基于一个传递给编译器的标记编译代码。它有两种形式: #[cfg(foo)] fn foo(){ } #[cfg(bar="baz")] fn bar(){ } 它还有一些帮助选项: #[cfg(any(unix,target_pointer_width = "32"
阅读全文
摘要:请看这里 学习相关 学习相关
阅读全文
摘要:在android开发的时候,有时候会遇到这样的问题 Error:Execution failed for task ':test:processDebugManifest'.> Manifest merger failed with multiple errors, see logs但是除了这个lo
阅读全文
摘要:use std::collections::LinkedList; /** 529. Minesweeper https://leetcode.com/problems/minesweeper/ Let's play the minesweeper game (Wikipedia, online g
阅读全文
摘要:/** 475. Heaters https://leetcode.com/problems/heaters/ Winter is coming! During the contest, your first job is to design a standard heater with a fix
阅读全文