Ramesses knows a lot about problems involving trees (undirected connected graphs without cycles)! He created a new useful tree decomposition, but he d ...
                            
                            
                                分类:
其他好文   时间:
2019-11-09 22:05:43   
                                阅读次数:
81
                             
                    
                        
                            
                            
                                运维错误分析,nginx出现错误104: Connection reset by peer时排查与分析经历。 ...
                            
                            
                                分类:
其他好文   时间:
2019-11-08 12:04:31   
                                阅读次数:
692
                             
                    
                        
                            
                            
                                CF598:div3解题报告 A: Payment Without Change 思路: + 按题意模拟即可。 代码: B: Minimize the Permutation 思路: + 从后往前扫,遇到能往左边挪的就往左边挪。 + 当然还有位置没有挪过,那就把没有被挪过的地方记录下来,然后再贪心把 ...
                            
                            
                                分类:
其他好文   时间:
2019-11-06 00:35:46   
                                阅读次数:
201
                             
                    
                        
                            
                            
                                    __ "Codeforces Round 598 (Div. 3)" __ __ "A. Payment Without Change" __ __思路:水题 没开long long wa2(考场降智__ AC代码 ...
                            
                            
                                分类:
其他好文   时间:
2019-11-05 21:37:06   
                                阅读次数:
113
                             
                    
                        
                            
                            
                                    VMware vSphere克隆异常/dev/sda2:UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.(i.e.,without -a or -p options)[FAILED]***An error occurred during the file sy ...
                            
                            
                                分类:
其他好文   时间:
2019-11-05 16:58:02   
                                阅读次数:
255
                             
                    
                        
                            
                            
                                OI生涯打的第一场CF比赛,写篇题解纪念一下吧 可以想到先尽量用面值为1的硬币来凑,然后再用面值为n的硬币来补足。先算出用上所有面值为1的硬币还差多少钱,然后判断用面值为n的硬币够不够补足就可以了。计算需要面值为n的硬币的数量的时候,注意是否需要加1的判断。还有一个需要注意的点,有可能用面值为1的硬 ...
                            
                            
                                分类:
其他好文   时间:
2019-11-05 13:54:24   
                                阅读次数:
86
                             
                    
                        
                            
                            
                                    比赛链接:传送门 A. Payment Without Change 代码: #include <iostream> #include <map> #include <algorithm> #include <cstdio> #include <cstring> #include <set> #in ...
                            
                            
                                分类:
其他好文   时间:
2019-11-05 13:21:10   
                                阅读次数:
75
                             
                    
                        
                            
                            
                                Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer  ...
                            
                            
                                分类:
其他好文   时间:
2019-11-03 13:00:36   
                                阅读次数:
90
                             
                    
                        
                            
                            
                                1、使用rpm安装mysql yum install mysql-server安装服务器包,实际上这条命令会自动安装客户端包。 查看包配置文件 service mysqld start 启动 数据库 启动成功,会出现提示,实际上是跑了一个初始化的脚本在/var/lib/mysql/中生成了套接字文件 ...
                            
                            
                                分类:
数据库   时间:
2019-10-29 14:05:33   
                                阅读次数:
95
                             
                    
                        
                            
                            
                                    vue系列---响应式原理实现及Observer源码解析(一) ...
                            
                            
                                分类:
其他好文   时间:
2019-10-28 18:59:00   
                                阅读次数:
126