摘要: 思路:模拟 class Solution { public: bool isValidSudoku(vector<vector<char>>& board) { int a[10]; for(int i = 0; i < board.size(); ++i) { memset(a, 0, sizeo 阅读全文
posted @ 2020-04-16 21:54 LightAc 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 思路:也没啥好说的了,就是模拟然后注意输入可能为空的判断。运用运算符重载先sort一波。应该有更简单的解法,待我研究出来再更新。 class Solution { public: static bool cmp(pair<int, int> P1, pair<int, int> P2) { if(P 阅读全文
posted @ 2020-04-16 21:27 LightAc 阅读(122) 评论(0) 推荐(0) 编辑
摘要: https://www.bilibili.com/video/BV1FK411j7JS 阅读全文
posted @ 2020-04-16 10:19 LightAc 阅读(138) 评论(0) 推荐(0) 编辑
摘要: //答案 //计组实验1答案 //1-1 //第1关 module fa_behavioral(a,b,ci,s,co);//考虑进位的加法器模块 input a,b; input ci; output s; output co; // 请在下面添加代码,完成一位全加器功能 /* Begin */ 阅读全文
posted @ 2020-04-16 10:13 LightAc 阅读(2210) 评论(0) 推荐(1) 编辑
返回顶端