摘自:https://www.ibm.com/developerworks/cn/linux/sdk/l-debug/ 本文讨论了四种调试 Linux 程序的情况。在第 1 种情况中,我们使用了两个有内存分配问题的样本程序,使用 MEMWATCH 和 Yet Another Malloc Debug ...
分类:
系统相关 时间:
2020-04-07 20:26:13
阅读次数:
91
均为 Simple 难度的水题。 "二叉树的中序遍历" 题目[94]:给定一个二叉树,返回它的 中序 遍历。 解题思路:Too simple. "相同的树" 题目[100]:给定两个二叉树,编写一个函数来检验它们是否相同。如果两个树在结构上相同,并且节点具有相同的值,则认为它们是相同的。 示例 解题 ...
分类:
其他好文 时间:
2020-04-05 20:41:48
阅读次数:
69
看了网上很多解决办法,一般是找到fluttersdk的bin的cache目录下的lockfile然后删掉 然鹅。。。正常情况下一般不会让你删,一般显示有进程占用... 于是换了种思维,发现在win下每次运行flutter,git-remote都要发送次请求,目的的是GitHub 处于天朝,我是移动网 ...
分类:
其他好文 时间:
2020-04-05 15:32:28
阅读次数:
149
The sequence of mm integers is called the permutation if it contains all integers from 11 to mm exactly once. The number mm is called the length of th ...
分类:
其他好文 时间:
2020-04-04 14:19:57
阅读次数:
98
需求: 请求http://10.3.10.99:8000分发到http://10.3.10.22:8089/time_discernhttp://10.3.10.99:8089/time_discern ? Nginx集群其实是:虚拟主机+反向代理+upstream分发模块组成的虚拟主机:接受和响应 ...
分类:
其他好文 时间:
2020-04-04 00:11:06
阅读次数:
67
在部署项目的时候遇到了AnanotherFPMinstanceseemstoalreadylistenon/tmp/php-cgi.sock解决方法:netstat-ant|grep9000//查看启动进程,发现没启动成功查看php-fpm.conf里面的配置:vim/usr/local/php/etc/php-fpm.conf[www]listen=/tmp/php-cgi.sock//注意这里
分类:
Web程序 时间:
2020-04-01 14:29:00
阅读次数:
320
Freddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone. He plans to visit her, but ...
分类:
其他好文 时间:
2020-03-31 01:24:28
阅读次数:
79
"CF1324A Yet Another Tetris Problem" 长度为n的数组a中有一组数,可以任意使其中一项+2,问能否使a中所有项的值相同。 感觉div.3的题目更多地在考简化问题的能力……比如原题目以俄罗斯方块作背景,让我想到的是能不能消除所有方块,导致代码很难写。但如果像上述一样简 ...
分类:
其他好文 时间:
2020-03-29 01:16:57
阅读次数:
71
648. 单词替换 难度中等49收藏分享切换为英文关注反馈 在英语中,我们有一个叫做 词根(root)的概念,它可以跟着其他一些词组成另一个较长的单词——我们称这个词为 继承词(successor)。例如,词根an,跟随着单词 other(其他),可以形成新的单词 another(另一个)。 现在, ...
分类:
其他好文 时间:
2020-03-27 19:50:20
阅读次数:
70
[5]For exmaple, Configure that outgoing packets through the Server from Internal network(10.0.0.0/24) are allowed and forwarded to External side. # se ...
分类:
其他好文 时间:
2020-03-27 09:16:05
阅读次数:
77