摘要: 题意:在一个热带雨林中生存着一群猴子,它们以树上的果子为生。昨天下了一场大雨,现在雨过天晴,但整个雨林的地表还是被大水淹没着,部分植物的树冠露在水面上。猴子不会游泳,但跳跃能力比较强,它们仍然可以在露出水面的不同树冠上来回穿梭,以找到喜欢吃的果实。现在,在这... 阅读全文
posted @ 2018-10-08 21:07 ShineEternal 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 首先,题目中已经说得很明确了(按照常理也是)。当有mmm个包,你第kkk个抢。k>mk>mk>m的话。显然,平时会显示:来晚了一步,红包已经被领完了\text{来晚了一步,红包已经被领完了}来晚了一步,红包已经被领完了就是,已经被第mmm个及之前... 阅读全文
posted @ 2018-10-06 13:34 ShineEternal 阅读(266) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include#include#include#includeusing namespace std;#define MAXN 35#define MIDX 10#define MIDY 40#define ... 阅读全文
posted @ 2018-10-05 13:35 ShineEternal 阅读(677) 评论(0) 推荐(0) 编辑
摘要: #include#include#include //suiji#include //SLEEP函数struct Player //玩家结构体,并初始化player{char name[21];int attack;int defense;int healt... 阅读全文
posted @ 2018-10-05 07:09 ShineEternal 阅读(566) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include using namespace std;struct pai{int paifu;int huase;int yanse;int dianshu;int leixing;int changdu... 阅读全文
posted @ 2018-10-05 07:09 ShineEternal 阅读(955) 评论(0) 推荐(0) 编辑
摘要: #include#include#includeint main(){srand(time(NULL));HANDLE hOut; hOut=GetStdHandle(STD_OUTPUT_HANDLE);int a[7][7],b[7][7],i,j,n=... 阅读全文
posted @ 2018-10-04 20:44 ShineEternal 阅读(582) 评论(0) 推荐(0) 编辑
摘要: 杀手小游戏会有一个存活者:(1 2 3 4 5),如果出现(1 0 3 4 5),代表二号已经死了。一号有3次复活权 且有一次随机诅咒权(即当自己被杀死时,会随机诅咒另外一个人,当然不是死人或自己,使其死亡)二号有一次复活权 且有一次随机诅咒权(但目标死亡率... 阅读全文
posted @ 2018-10-04 20:27 ShineEternal 阅读(907) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include#includeusing namespace std;int i,H[3],S[3],K[3],p=1,Y,C;string P[3];bool game=1;void a(int i){ f... 阅读全文
posted @ 2018-10-04 20:26 ShineEternal 阅读(555) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace std; const int X = 21; //棋盘行数 const int Y = 21; //棋盘列数 char p[X][Y]; //定义棋盘 int m=0;//... 阅读全文
posted @ 2018-10-04 20:24 ShineEternal 阅读(2164) 评论(0) 推荐(0) 编辑
摘要: #include#include#includeint a[24][17],i,j,tim=800,ti=800,shape=0,b,bn,ta[4][4],turn[4][4],nex[4][4],nextshape,add=0,score=0,speed... 阅读全文
posted @ 2018-10-04 20:23 ShineEternal 阅读(433) 评论(0) 推荐(0) 编辑