SadAngelF / blogtalk

博客评论
0 stars 0 forks source link

C_plusplus | 拾叶 #10

Open SadAngelF opened 4 years ago

SadAngelF commented 4 years ago

http://www.sadangel.cn/2020/11/26/C-plusplus/

C_plusplus | 拾叶

zhangyj-ops commented 4 years ago

浅显讲讲DFS的代码思路和应用行不行?一听就会一跑就废有救吗orz

SadAngelF commented 3 years ago

@zhangyj-ops 浅显讲讲DFS的代码思路和应用行不行?一听就会一跑就废有救吗orz

可以啊,我尽量今天看能不能给你做一下,一开始学肯定跑起来费劲一点,毕竟计算机没人聪明

SadAngelF commented 3 years ago

@zhangyj-ops 浅显讲讲DFS的代码思路和应用行不行?一听就会一跑就废有救吗orz

搞定了,可以看一下我那篇博客,算法和具体的实现我充电之后补充上来

Sunrisulfr commented 3 years ago

auto comp = [&count_map](int n1, int n2) { return count_map[n1] > count_map[n2]; };请问这里的&有啥用

SadAngelF commented 3 years ago

@Sunrisulfr auto comp = [&count_map](int n1, int n2) { return count_map[n1] > count_map[n2]; };请问这里的&有啥用

太难了,泪目