摘要:
https://www.cnblogs.com/xiezhw3/p/4354601.html 阅读全文
摘要:
class Solution { int myMin(int x, int y) { return x & nums1, vector& nums2, int findKth) { int length_1 = (int) ... 阅读全文
摘要:
class Solution {public: int lengthOfLongestSubstring(string s) { vectorv(256,-1); int len = s.size(); int ... 阅读全文
摘要:
class Solution {public: vector twoSum(vector& nums, int target) { vectortwoSum; maptmpmap; int nsize =... 阅读全文
摘要:
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), ... 阅读全文
摘要:
kill -9 $(netstat -nlp | grep :4567 | awk '{print $7}' | awk -F"/" '{ print $1 }')sleep 1nohup `pwd`/DBCache &echo "$!" > pid_DBCa... 阅读全文
摘要:
1、PRIMARY KEY(主键索引)添加 ALTER TABLE `table_name` ADD PRIMARY KEY ( `column` );删除 ALTER TABLE `table_name` DROP PRIMARY KEY;2、UNIQUE(... 阅读全文
摘要:
--概率算法local randlist = {85,60,55,50,50,40,35,25,20,15,12,10,10,5,5} --概率local countlist = {0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0... 阅读全文
摘要:
将十进制的各个位数分离出来 https://blog.csdn.net/baidu_33725271/article/details/69891704 在c十十中,求一个十进制数n各个位数的和应怎么编程 https://zhidao.baidu.com/que... 阅读全文
摘要:
https://blog.csdn.net/little_stupid_child/article/details/53612018 阅读全文