Alice and Bob received nn candies from their parents. Each candy weighs either 1 gram or 2 grams. Now they want to divide all candies among themselves ...
                            
                            
                                分类:
其他好文   时间:
2021-01-26 11:57:06   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    Power Strings Description Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcde ...
                            
                            
                                分类:
其他好文   时间:
2021-01-26 11:47:12   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    Two strings are considered close if you can attain one from the other using the following operations: Operation 1: Swap any two existing characters. F ...
                            
                            
                                分类:
其他好文   时间:
2021-01-25 11:07:52   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    Kernel setup There are two kernel structs, kernel.Kernel and ring0.Kernel. kernel.Kernel contains most of kernel data structures while ring0.kernel on ...
                            
                            
                                分类:
其他好文   时间:
2021-01-22 12:24:28   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    Problem LeetCode Given a binary search tree with non-negative values, find the minimum absolute difference between values of any two nodes. Example: I ...
                            
                            
                                分类:
编程语言   时间:
2021-01-21 10:55:51   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                Given an increasing sequence S of N integers, the median is the number at the middle position. For example, the median of S1 = { 11, 12, 13, 14 } is 1 ...
                            
                            
                                分类:
其他好文   时间:
2021-01-21 10:52:05   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    题目: Monocarp had a sequence a consisting of n+m integers a1,a2,…,an+m. He painted the elements into two colors, red and blue; n elements were painted  ...
                            
                            
                                分类:
其他好文   时间:
2021-01-20 12:13:42   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    VBA采用Application.OnTime实现计时器,代码如下: Public RunWhen As Double Public Const cRunIntervalSeconds = 120 ' two minutes Public Const cRunWhat = "TheSub" ' th ...
                            
                            
                                分类:
其他好文   时间:
2021-01-20 12:10:43   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    DynamoDB supports two types of primary keys: Partition key: A simple primary key, composed of one attribute known as the partition key. Attributes in  ...
                            
                            
                                分类:
其他好文   时间:
2021-01-19 12:30:09   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    D. Divide and Summarize 题意 给你n个数,q次询问,问你能否具有满足和为s的序列。 思路 再求其有多少种和时需要使用$mid = max + min >> 1$来寻找有多少种和。 然后dfs,但是需要判断一下左面或者右面全部相等情况,否则会爆栈 #include<bits/s ...
                            
                            
                                分类:
其他好文   时间:
2021-01-19 12:24:43   
                                阅读次数:
0