原题链接https://codeforces.com/problemset/problem/8/C 这题自己sb,后面s数组没有加够,出现了空值,调了老半天,我是sb。 题意: 给你n个结点,权值1~n,问你最多能组成多少棵深度不小于 k 的二叉搜索树。 思路:大的树是由小的树构成的,因此可以递推( ...
分类:
其他好文 时间:
2021-04-07 11:25:35
阅读次数:
0
request的header信息在通过feign调用的时候,不能直接传过去,可以写一个拦截器,给他发过去,但是中间出了个小bug,报错too many bytes written,经百度,找了如下https://blog.csdn.net/qq_39986681/article/details/10 ...
分类:
其他好文 时间:
2021-04-07 11:20:39
阅读次数:
0
In a forest, each rabbit has some color. Some subset of rabbits (possibly all of them) tell you how many other rabbits have the same color as them. Th ...
分类:
其他好文 时间:
2021-04-06 14:17:51
阅读次数:
0
Here is my advice to you for how to succeed at office politics without becoming a backstabber. 这是我给你的建议-如何在职场上取得成功?-不是变成一个在别人背后暗箭伤人的人! Don't keep your ...
分类:
其他好文 时间:
2021-04-05 12:23:05
阅读次数:
0
image host for https://epiapoq.github.io/2021/04/02/compim/ ...
分类:
其他好文 时间:
2021-04-05 12:11:11
阅读次数:
0
复制: 鼠标选中就复制了 粘贴: 粘贴到xterm里面 shift+Insert; 粘贴到其他应用 shift + 鼠标滚轮; https://askubuntu.com/questions/237942/how-does-copy-paste-work-with-xterm ...
分类:
其他好文 时间:
2021-04-02 13:34:34
阅读次数:
0
原题链接 题意:斯努克站在一个二维平面上。在一次操作中,他可以向 \(x\) 轴正方向或是 \(y\) 轴正方向移动一步。定义函数 \(f(r,c)\) 为通过上述操作,斯努克从 \((0,0)\) 走到 \((r,c)\) 的方案总数。现在给定 \(r_1,r_2,c_1\) 和 \(c_2\), ...
分类:
其他好文 时间:
2021-04-01 13:11:49
阅读次数:
0
方法/步骤 1、进入 mysql 的 bin 目录下,打开 cmd ,在此之前关闭mysql服务,并且结束mysqld.exe进程 2、输入命令 mysqld --skip-grant-tables 回车,此时就跳过了mysql的用户验证。注意输入此命令之后命令行就无法操作了,此时可以再打开一个新的 ...
分类:
数据库 时间:
2021-04-01 12:55:16
阅读次数:
0
如何:调试 Windows 服务应用程序 https://docs.microsoft.com/zh-cn/dotnet/framework/windows-services/how-to-debug-windows-service-applications 官网地址 <main id="main" ...
1,mysql重置root密码。 编辑配置文件 /etc/my.cnf ,在[mysqld]后面任意一行添加“skip-grant-tables”用来跳过密码验证 接下来我们需要重启MySQL,使用service mysqld restart 进入mysql中重置密码, mysql> update ...
分类:
数据库 时间:
2021-03-31 12:22:32
阅读次数:
0