会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ShineEternal的流星雨小屋
learn and code
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
17
18
19
20
21
22
23
下一页
2018年10月8日
[HAOI2006]聪明的猴子 题解
摘要: 题意:在一个热带雨林中生存着一群猴子,它们以树上的果子为生。昨天下了一场大雨,现在雨过天晴,但整个雨林的地表还是被大水淹没着,部分植物的树冠露在水面上。猴子不会游泳,但跳跃能力比较强,它们仍然可以在露出水面的不同树冠上来回穿梭,以找到喜欢吃的果实。现在,在这...
阅读全文
posted @ 2018-10-08 21:07 ShineEternal
阅读(286)
评论(0)
推荐(0)
2018年10月6日
D:苏卿念发红包
摘要: 首先,题目中已经说得很明确了(按照常理也是)。当有mmm个包,你第kkk个抢。k>mk>mk>m的话。显然,平时会显示:来晚了一步,红包已经被领完了\text{来晚了一步,红包已经被领完了}来晚了一步,红包已经被领完了就是,已经被第mmm个及之前...
阅读全文
posted @ 2018-10-06 13:34 ShineEternal
阅读(343)
评论(0)
推荐(0)
2018年10月5日
c++小游戏——扫雷
摘要: #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
阅读(913)
评论(0)
推荐(0)
c++小游戏——拯救公主
摘要: #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
阅读(882)
评论(0)
推荐(0)
c++小游戏——三国杀
摘要: #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
阅读(5496)
评论(0)
推荐(0)
2018年10月4日
C++小游戏——井字棋
摘要: #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
阅读(806)
评论(0)
推荐(0)
c++小游戏——杀手
摘要: 杀手小游戏会有一个存活者:(1 2 3 4 5),如果出现(1 0 3 4 5),代表二号已经死了。一号有3次复活权 且有一次随机诅咒权(即当自己被杀死时,会随机诅咒另外一个人,当然不是死人或自己,使其死亡)二号有一次复活权 且有一次随机诅咒权(但目标死亡率...
阅读全文
posted @ 2018-10-04 20:27 ShineEternal
阅读(1233)
评论(0)
推荐(0)
c++小游戏——职业战争
摘要: #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
阅读(841)
评论(0)
推荐(0)
c++小游戏——五子棋
摘要: #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
阅读(2816)
评论(0)
推荐(0)
c++小游戏——俄罗斯方块
摘要: #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
阅读(562)
评论(0)
推荐(0)
上一页
1
···
17
18
19
20
21
22
23
下一页
公告