Knight Moves 超级升级版 题目描述 棋盘和上次的Knight Moves一样,不过这次的是双人版,有两位玩家 棋子除了可以走日字以外,还能走田字 样例输入 样例输出 AC代码 c include //includes include //up include //up include / ...
分类:
编程语言 时间:
2019-07-30 17:16:51
阅读次数:
126
增加最低速度时间 git config --global http.lowSpeedLimit 0git config --global http.lowSpeedTime 999999 ...
分类:
其他好文 时间:
2019-07-29 17:35:54
阅读次数:
111
在跑步机上跑步,身体是在不停的运动,但是脑子还处于空闲状态,总觉得可以做点什么,才不会浪费这 40~50 分钟的宝贵时间,因为每天的空闲时间不多,难得有大段的连续时间。 一开始我选择听歌,听网易云音乐里针对跑步的歌单,结果没几次下来就受不了,太枯燥了。 后来我就跟 Bilibili UP主,有平均 ...
分类:
其他好文 时间:
2019-07-29 00:40:47
阅读次数:
70
Ctrl+空格,代码提示(与系统输入法快捷键冲突)Ctrl+Shift+Alt+N,查找类中的方法或变量Alt+Shift+C,最近的更改Alt+Shift+Up/Down,上/下移一行Shift+F6,重构 – 重命名Ctrl+X,删除行Ctrl+D,复制行Ctrl+/或Ctrl+Shift+/, ...
分类:
其他好文 时间:
2019-07-28 17:37:42
阅读次数:
78
题意:将两个字符串模拟洗牌的操作合并问是否能得打答案,以及中间经过的次数,如果不能则输出-1 思路:这是一道模拟题,所以只需要写一个模拟操作,不断循环即可。同时还要判断循环结束条件(递归结束条件),如果自己手写一个例子的话就会发现其在不超过2*n(n为长度)次数就会洗回来 完整代码: ...
分类:
其他好文 时间:
2019-07-28 15:57:56
阅读次数:
83
题目描述 Each of Farmer John's N (4 <= N <= 16) cows has a unique serial number S_i (1 <= S_i <= 25,000). The cows are so proud of it that each one now we ...
分类:
其他好文 时间:
2019-07-28 15:29:16
阅读次数:
73
/** * This problem was asked by Microsoft. Given an array of numbers and a number k, determine if there are three entries in the array which add up to... ...
分类:
其他好文 时间:
2019-07-28 14:09:51
阅读次数:
106
```cpp #include #define lson(x) (x p) t[x].sum %= p; return; } int mid = (ll + rr) >> 1; build(lson(x),ll,mid); build(rson(x),mid + 1,rr); push_up(x);... ...
分类:
其他好文 时间:
2019-07-27 21:00:44
阅读次数:
108
[toc] Install Vagrant Installing Vagrant https://www.vagrantup.com/downloads.html "Vagrant 2.2.5" Verifying the Installation Project Setup "ubuntu/bio ...
分类:
其他好文 时间:
2019-07-27 13:14:54
阅读次数:
124
Maxim and Array Recently Maxim has found an array of n integers, needed by no one. He immediately come up with idea of changing it: he invented positi ...
分类:
其他好文 时间:
2019-07-26 01:07:49
阅读次数:
100