会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
byfei
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
11
12
13
14
15
16
17
18
19
···
95
下一页
2019年1月15日
static, const 和 static const 变量的初始化问题
摘要: https://www.cnblogs.com/xiezhw3/p/4354601.html
阅读全文
posted @ 2019-01-15 21:30 byfei
阅读(58)
评论(0)
推荐(0)
2019年1月14日
[leetcode]第4题
摘要: class Solution { int myMin(int x, int y) { return x & nums1, vector& nums2, int findKth) { int length_1 = (int) ...
阅读全文
posted @ 2019-01-14 17:02 byfei
阅读(35)
评论(0)
推荐(0)
[leetcode]第3题
摘要: class Solution {public: int lengthOfLongestSubstring(string s) { vectorv(256,-1); int len = s.size(); int ...
阅读全文
posted @ 2019-01-14 16:50 byfei
阅读(40)
评论(0)
推荐(0)
[leetcode]第1题
摘要: class Solution {public: vector twoSum(vector& nums, int target) { vectortwoSum; maptmpmap; int nsize =...
阅读全文
posted @ 2019-01-14 16:34 byfei
阅读(31)
评论(0)
推荐(0)
[leetcode]第2题
摘要: /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), ...
阅读全文
posted @ 2019-01-14 16:30 byfei
阅读(30)
评论(0)
推荐(0)
2019年1月2日
[手游项目2]-16-linux启动进程并保存进程id到文件
摘要: kill -9 $(netstat -nlp | grep :4567 | awk '{print $7}' | awk -F"/" '{ print $1 }')sleep 1nohup `pwd`/DBCache &echo "$!" > pid_DBCa...
阅读全文
posted @ 2019-01-02 14:11 byfei
阅读(128)
评论(0)
推荐(0)
2018年12月18日
[手游项目2]-29-Mysql添加和删除唯一索引、主键
摘要: 1、PRIMARY KEY(主键索引)添加 ALTER TABLE `table_name` ADD PRIMARY KEY ( `column` );删除 ALTER TABLE `table_name` DROP PRIMARY KEY;2、UNIQUE(...
阅读全文
posted @ 2018-12-18 16:35 byfei
阅读(71)
评论(0)
推荐(0)
2018年12月1日
[手游项目2]-28-强化系统
摘要: --概率算法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...
阅读全文
posted @ 2018-12-01 05:16 byfei
阅读(67)
评论(0)
推荐(0)
2018年11月27日
[手游项目2]-27-十进制的位操作
摘要: 将十进制的各个位数分离出来 https://blog.csdn.net/baidu_33725271/article/details/69891704 在c十十中,求一个十进制数n各个位数的和应怎么编程 https://zhidao.baidu.com/que...
阅读全文
posted @ 2018-11-27 19:35 byfei
阅读(63)
评论(0)
推荐(0)
2018年11月23日
[手游项目2]-26-linux svn冲突 遇到Conflict discovered in ‘*****’问题
摘要: https://blog.csdn.net/little_stupid_child/article/details/53612018
阅读全文
posted @ 2018-11-23 15:04 byfei
阅读(378)
评论(0)
推荐(0)
上一页
1
···
11
12
13
14
15
16
17
18
19
···
95
下一页
公告