10 2020 档案
摘要:#include <iostream>#include <cstring>#include <string>#include <vector>#include <iterator>#include <stack>#include <cstdlib> using namespace std; cons
阅读全文
摘要:find、insert、delete、先序遍历操作 typedef struct node stree; struct node { int val; stree *left; stree *right; }; stree *T; stree* MakeEmpty(stree *t) { if (t
阅读全文
摘要:题目:啊哈算法 P114 求有多少个独立小岛 其中陆地点大于0,海洋点为0 int mp[N][N], book[N][N]; int n, m; // n * m地图 int num = 0;int divv[4][2] = {{0,1},{1,0},{0,-1},{-1,0}};void dfs
阅读全文
浙公网安备 33010602011771号