上一页 1 ··· 37 38 39 40 41
摘要: Dungeon Master Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 38847 Accepted: 14802 Description You are ... 阅读全文
posted @ 2017-11-18 21:49 GhostCai 阅读(99) 评论(0) 推荐(0)
摘要: 题目描述 有一个n*m的棋盘(1#include #include#define MAXN 405using namespace std;struct point{ int x, y;}node,r;int a[MAXN][MAXN];bo... 阅读全文
posted @ 2017-11-18 20:57 GhostCai 阅读(90) 评论(0) 推荐(0)
摘要: #include#include#include#include#include#includeusing namespace std;typedef struct node { double x,y,z;} qiu;qiu a[1005];bool cmp(q... 阅读全文
posted @ 2017-11-18 11:57 GhostCai 阅读(108) 评论(0) 推荐(0)
摘要: 题目背景 问世间,青春期为何物? 答曰:“甲亢,甲亢,再甲亢;挨饿,挨饿,再挨饿!” 题目描述 正处在某一特定时期之中的李大水牛由于消化系统比较发达,最近一直处在饥饿的状态中。某日上课,正当他饿得头昏眼花之时,眼前突然闪现出了一个n*m(n... 阅读全文
posted @ 2017-11-18 11:55 GhostCai 阅读(82) 评论(0) 推荐(0)
摘要: 题目描述 一矩形阵列由数字0到9组成,数字1到9代表细胞,细胞的定义为沿细胞数字上下左右若还是细胞数字则为同一细胞,求给定矩形阵列的细胞个数。(1#include#define MAXN 200using namespace std;int a[MAXN][... 阅读全文
posted @ 2017-11-18 10:04 GhostCai 阅读(143) 评论(0) 推荐(0)
摘要: 题目描述 由数字0 组成的方阵中,有一任意形状闭合圈,闭合圈由数字1构成,围圈时只走上下左右4个方向。现要求把闭合圈内的所有空间都填写成2.例如:6X6的方阵(n=6),涂色前和涂色后的方阵如下: 0 0 0 0 0 0 0 0 ... 阅读全文
posted @ 2017-10-05 23:33 GhostCai 阅读(90) 评论(0) 推荐(0)
摘要: 1031 质数环 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 题解 题目描述 Description 一个大小为N(N#includeusing namespace std;int a[21];bool b[21]... 阅读全文
posted @ 2017-10-03 09:49 GhostCai 阅读(109) 评论(0) 推荐(0)
摘要: [NYOJ] 1058 部分和问题P1058 部分和问题 时间限制:1000 ms | 内存限制:65535 KB 难度:2 描述 给定整数a1、a2、…….an,判断是否可以从中选出若干数,使它们的和恰好为K。 输入 首先,n和k,... 阅读全文
posted @ 2017-10-02 11:35 GhostCai 阅读(140) 评论(0) 推荐(0)
摘要: Hello World 阅读全文
posted @ 2017-09-10 00:45 GhostCai 阅读(85) 评论(1) 推荐(0)
上一页 1 ··· 37 38 39 40 41