"Fat and docile, big and dumb, they look so stupid, they aren't muchfun..."- Cows with Guns by Dana LyonsThe cows want to prove to the public that the ...
分类:
其他好文 时间:
2020-01-29 15:55:06
阅读次数:
107
#include<iostream> #include<queue> #include<cstring> using namespace std; const int N=200000+10,INF=0x3f3f3f3f; int h[N],e[N],ne[N],w[N],idx; int n,m, ...
分类:
其他好文 时间:
2020-01-29 12:10:32
阅读次数:
56
In the "100 game," two players take turns adding, to a running total, any integer from 1..10. The player who first causes the running total to reach o ...
分类:
编程语言 时间:
2020-01-29 10:50:52
阅读次数:
93
现在开始写具体实现代码 1.加载TiledMap 1 /** 2 * 创建游戏场景 3 * Create a game scene 4 */ 5 private createGameScene() { 6 let sky = this.createBitmapByName("bg_jpg"); 7 ...
分类:
其他好文 时间:
2020-01-28 23:26:13
阅读次数:
82
Mr.Lee每隔1/x s攻击一次,cpu每隔1/y s攻击一次 因为时间与答案无关,最后只看boss受到了多少次攻击 所以可以在每个人的频率上同时乘以xy 即Mr.Lee每隔y s攻击一次,cpu每隔x s攻击一次 这样看虽然时间延长但是结果不变 就可以二分查找出打败boss用时,最后再根据时间判 ...
分类:
其他好文 时间:
2020-01-28 20:50:33
阅读次数:
84
题意: farm(农庄)上有一堆pastures(牧场),cow path可以把一些牧场连起来,但是现在至少有两个牧场不能被任何cow path连起来。对于一对牧场,我们可以用一个cow path连起他们。一个牧场是一个点,一个cow path是一条边,牧场和cow path一同组成了一个区域“fi ...
分类:
其他好文 时间:
2020-01-27 22:00:50
阅读次数:
46
"题目" 题意:每个格子里都有数字,负数代表你会少血,正数代表你会加血,当你的血量为0的时候就死了,从左上角出发,到右下角,问你一开始最少的血量是多少。整个过程中不能有血量为0的情况。 题解:只能走下或者走右。这种有向无环图,八成都是动态规划。但是如果从左上角开始规划,有很多情况要考虑。从右下角开始 ...
分类:
其他好文 时间:
2020-01-27 17:32:36
阅读次数:
49
#include<iostream> #include<cstring> using namespace std; const int N=110,INF=0x3f3f3f3f; int f[N][N]; int main() { int n,m; cin>>n>>m; memset(f,0x3f, ...
分类:
其他好文 时间:
2020-01-27 14:05:03
阅读次数:
72
github地址:https://github.com/wangshub/wechat_jump_game 工具介绍 Python 3 Android 手机 Adb 驱动 Python Matplot绘图 python3安装 安装pip 安装依赖包 在github地址将源码下载下来解压后,使用cd命 ...
分类:
微信 时间:
2020-01-26 20:58:24
阅读次数:
139
原题: Description One cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is going to attend the big cow party to be held at farm #X (1 ≤ ...
分类:
其他好文 时间:
2020-01-26 19:04:18
阅读次数:
74