摘要:
cmake可以通过配置参数选择项目构建时的类型,但对于不同类型的生成器,参数有所区别,主流为以下两类: single-configuration generators(单一配置生成器) 例如: Makefile Generators、Ninja 对于这类生成器,cmake可以采用 CMAKE_BUI 阅读全文
摘要:
class Solution { public: string decodeMessage(string key, string message) { string letters = "abcdefghijklmnopqrstuvwxyz"; int index = 0; for (int i = 阅读全文
摘要:
class Solution { public: bool checkXMatrix(vector<vector<int>>& grid) { int n = grid.size(); bool flag = true; for(int i = 0;i < n;i++) { for(int j = 阅读全文