2.1 Include Syntax Both user and system header files are included using the preprocessing directive ‘#include’. It has two variants: This variant is u ...
分类:
其他好文 时间:
2019-05-28 16:55:05
阅读次数:
136
链表题没法在本地打断点调试真的烦。。。不过好在这题简单 注意考虑要去除的元素在正数第一位的情况就好。 Runtime: 40 ms, faster than 88.15% of Python3 online submissions forRemove Nth Node From End of Lis ...
分类:
其他好文 时间:
2019-05-27 23:28:15
阅读次数:
128
少考虑了1 多考虑了重复括号,和括号有数学运算符顺序: Runtime: 924 ms, faster than 5.87% of Python3 online submissions for Valid Parentheses. Memory Usage: 13.3 MB, less than 1 ...
分类:
其他好文 时间:
2019-05-24 19:32:32
阅读次数:
110
宜信开源的微服务任务调度平台SIA-TASK,具有跨平台,可编排,高可用,无侵入,一致性,异步并行,动态扩展,实时监控等特点。 ...
分类:
其他好文 时间:
2019-05-24 12:43:12
阅读次数:
204
题目链接: "戳我" 有向生成树计数。 那么在这里补充一下矩阵树定理吧! 度数矩阵 邻接矩阵(双向计数),去掉任意一行一列,剩下的式子高斯消元之后,对角线乘积是无向图的生成树个数。 入度矩阵 邻接矩阵(单向边),去掉根相关的一行一列,剩下的式子高斯消元之后,对角线乘积是外向树的生成树个数。 出度矩阵 ...
分类:
其他好文 时间:
2019-05-23 00:11:10
阅读次数:
101
题目链接: "戳我" 其实只有开了O2才能A....... 就是我们看到n的范围这么小,就想到状压DP。然后我们设状态dp[i]表示状态为i的(二进制表示该点选或者不选),方案数有多少个。 但是我们发现因为还要枚举转移下一个点,所以我们还要记录一下最后的那个点是什么。 于是我们修改状态为$dp[i] ...
分类:
其他好文 时间:
2019-05-22 23:54:28
阅读次数:
234
第十届山东省ACM省赛:C - Wandering Robot ...
分类:
其他好文 时间:
2019-05-20 21:14:18
阅读次数:
131
执行rabbitmq-pluginsenablerabbitmq_management报错如下Pluginconfigurationunchanged.Applyingpluginconfigurationtorabbit@hj...failed.Couldnotcontactnoderabbit@hj.Changeswilltakeeffectatbrokerrestart.Options:--
分类:
系统相关 时间:
2019-05-18 20:43:29
阅读次数:
432
题目链接: "戳我" 非常不好意思,因为想要排版,所以今天先只把代码贴出来,明天补题解。QAQ cpp include include include include include define eps 1e 7 define MAXN 500010 int n,m,t; int head[MAX ...
分类:
其他好文 时间:
2019-05-18 00:23:25
阅读次数:
121
MySQL PT工具pt-online-schema-change dba_aj@163.com MySQL PT工具pt-online-schema-change 1、pt-osc 原理1.1 工作过程1.2 限制1.3 pt-osc VS ONLINE DDL 如何选择1.4 具体操作1.5 .... ...
分类:
其他好文 时间:
2019-05-13 12:44:11
阅读次数:
119