cong666
cong666
全部文章
分类
未归档(202)
归档
标签
去牛客网
登录
/
注册
CSPs blog
CSP时代降临
全部文章
(共202篇)
题解 AT2243 【正方形のチップ】
题意:在格子纸上: 给出格子的单位长度C,和在上面圆的半径R; 求出: 圆中有多少个完整的小正方形。(单位长度*单位长度) #include<cstdio> #include<cmath> #include<iostream> using namespace...
2018-10-09
0
307
[HAOI2006]聪明的猴子 题解
题意: 在一个热带雨林中生存着一群猴子,它们以树上的果子为生。昨天下了一场大雨,现在雨过天晴,但整个雨林的地表还是被大水淹没着,部分植物的树冠露在水面上。猴子不会游泳,但跳跃能力比较强,它们仍然可以在露出水面的不同树冠上来回穿梭,以找到喜欢吃的果实。 现在,在这个地区露出水面的有N棵树,假设每棵...
2018-10-08
0
288
D:苏卿念发红包
首先,题目中已经说得很明确了(按照常理也是)。 当有 m m m个包,你第 ...
2018-10-06
0
376
c++小游戏——扫雷
#include<cstdio> #include<cstring> #include<algorithm> #include<conio.h> #include<windows.h> #include<cstdlib> #in...
2018-10-05
0
304
c++小游戏——拯救公主
#include<stdio.h> #include<ctime> #include<time.h> //suiji #include<windows.h> //SLEEP函数 struct Player //玩家结构体,并初始化player { ch...
2018-10-05
0
392
c++小游戏——三国杀
#include<iostream> #include<time.h> #include<stdio.h> #include <stdlib.h> using namespace std; struct pai { int paifu; int hua...
2018-10-05
0
843
C++小游戏——井字棋
#include<cstdio> #include<windows.h> #include<ctime> int main() { srand(time(NULL));HANDLE hOut; hOut=GetStdHandle(STD_OUTPUT_HANDLE...
2018-10-04
0
312
c++小游戏——杀手
杀手小游戏 会有一个存活者:(1 2 3 4 5),如果出现(1 0 3 4 5),代表二号已经死了。 一号有3次复活权 且有一次随机诅咒权(即当自己被杀死时,会随机诅咒另外一个人,当然不是死人或自己,使其死亡) 二号有一次复活权 且有一次随机诅咒权(但目标死亡率为50%) 三号有一次复活权...
2018-10-04
0
319
c++小游戏——职业战争
#include<iostream> #include<cstdlib> #include<ctime> #include<cstring> #include<windows.h> using namespace std; int i,H[...
2018-10-04
0
357
c++小游戏——五子棋
#include<iostream> #include<iomanip> #include<cstring> using namespace std; const int X = 21; //棋盘行数 const int Y = 21; //棋盘列数 ...
2018-10-04
0
340
首页
上一页
12
13
14
15
16
17
18
19
20
21
下一页
末页