03-树3 Tree Traversals Again (25分) An inorder binary tree traversal can be implemented in a non-recursive way with a stack. For example, suppose that w ...
                            
                            
                                分类:
其他好文   时间:
2020-07-19 23:08:36   
                                阅读次数:
84
                             
                         
                    
                        
                            
                            
                                    Tom and Jerry are going on a vacation. They are now driving on a one-way road and several cars are in front of them. To be more specific, there are nn ...
                            
                            
                                分类:
其他好文   时间:
2020-07-17 09:30:42   
                                阅读次数:
82
                             
                         
                    
                        
                            
                            
                                背景 目前 机器学习平台 后端采用k8s架构进行GPU和CPU资源的调度和容器编排。总所周知,k8s的后端核心存储使用etcd进行metadata持久化存储。机器学习平台采取[External etcd topology](http://way.xiaojukeji.com/article/Exte ...
                            
                            
                                分类:
其他好文   时间:
2020-07-15 23:14:34   
                                阅读次数:
90
                             
                         
                    
                        
                            
                            
                                    CF1380F链接 常见套路(?) 首先,假设是静态。 约定“第 \(i\) 位”是从高到低的。如 $95731$ 的第 $2$ 位是 $5$。 推一推方程: \(dp_i = dp_{i-1} \times v_1 + dp_{i-2} \times v_2\) 具体地说,设 \(t_i\) 是第 ...
                            
                            
                                分类:
其他好文   时间:
2020-07-15 15:50:52   
                                阅读次数:
105
                             
                         
                    
                        
                            
                            
                                    David Hayden blogged about a cool new ROW_NUMBER() function that SQL 2005 provides that got me excited and inspired to write a little code last night. ...
                            
                            
                                分类:
Web程序   时间:
2020-07-13 09:20:41   
                                阅读次数:
76
                             
                         
                    
                        
                            
                            
                                    #include<iostream> #include<cmath> #include<algorithm> #include<string> #include<cstring> #define DEBUG if( 1 )//是否输出调试用信息 using namespace std; int W, ...
                            
                            
                                分类:
其他好文   时间:
2020-07-11 19:21:29   
                                阅读次数:
61
                             
                         
                    
                        
                            
                            
                                #Code-Output File-Two Way July 9, 2020 9:25 PM ##1.使用ofstream 输出 #include <fstream> SYSTEMTIME st; GetLocalTime(&st); CString strTime; strTime.Format( ...
                            
                            
                                分类:
其他好文   时间:
2020-07-09 22:11:03   
                                阅读次数:
73
                             
                         
                    
                        
                            
                            
                                @pytest.mark.skip(reason="no way of currently testing this") @pytest.mark.skipif(sys.version_info < (3,6), reason="requires python3.6 or higher") 果条件在 ...
                            
                            
                                分类:
其他好文   时间:
2020-07-09 22:08:55   
                                阅读次数:
90
                             
                         
                    
                        
                            
                            
                                    B - Brexit Negotiations https://vjudge.net/problem/Gym-102483B 描述: As we all know, Brexit negotiations are on their way—but we still do not know wheth ...
                            
                            
                                分类:
其他好文   时间:
2020-07-06 12:29:36   
                                阅读次数:
66
                             
                         
                    
                        
                            
                            
                                    TCP的四次挥手(Four-Way Wavehand) 1、“四次挥手”的详解 所谓的四次挥手即TCP连接的释放(解除)。连接的释放必须是一方主动释放,另一方被动释放。 以下为客户端主动发起释放连接的图解: 挥手之前主动释放连接的客户端结束ESTABLISHED阶段。随后开始“四次挥手”: (1)首 ...
                            
                            
                                分类:
其他好文   时间:
2020-07-04 19:16:29   
                                阅读次数:
56