上一页 1 ··· 164 165 166 167 168 169 170 171 172 ··· 223 下一页
摘要: Time Limit: 1 second Memory Limit: 128 MB【问题描述】在一条数轴上有N头牛在不同的位置上,每头牛都计算到其它各头牛的距离。求这n*(n-1)个距离的总和。 【数据规模】 1#include #include #define LL long ... 阅读全文
posted @ 2017-10-04 18:45 AWCXV 阅读(343) 评论(0) 推荐(0)
摘要: Time Limit: 1 second Memory Limit: 128 MB【问题描述】据说2012的灾难和太阳黑子的爆发有关。于是地球防卫小队决定制造一个特殊防护伞,挡住太阳黑子爆发的区域,减少其对地球的 影响。由于太阳相对与地球来说实在是太大了,我们可以把太阳表面看作一个平... 阅读全文
posted @ 2017-10-04 18:45 AWCXV 阅读(273) 评论(0) 推荐(0)
摘要: time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Alyona’s mother wants to present an ... 阅读全文
posted @ 2017-10-04 18:45 AWCXV 阅读(175) 评论(0) 推荐(0)
摘要: time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Little Alyona is celebrating Happy B... 阅读全文
posted @ 2017-10-04 18:45 AWCXV 阅读(157) 评论(0) 推荐(0)
摘要: time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Little girl Alyona is in a shop to bu... 阅读全文
posted @ 2017-10-04 18:45 AWCXV 阅读(220) 评论(0) 推荐(0)
摘要: Time Limit: 1 second Memory Limit: 128 MB【问题描述】地质学家们打算考察一片山区。这片山区可分成m*n的网格,每个网格都有唯一的海拔高度,山区外围的海拔高度均为0。由于考察 任务繁重,他们分成m*n组,每个组考察一个网格的区域。每个组都可以选择... 阅读全文
posted @ 2017-10-04 18:45 AWCXV 阅读(312) 评论(0) 推荐(0)
摘要: Time Limit: 1 second Memory Limit: 64 MB【问题描述】农夫 John 正在研究他的农场的卫星照片.照片为一个R (1#include #include #include using namespace std;const int MAXN = 1... 阅读全文
posted @ 2017-10-04 18:45 AWCXV 阅读(609) 评论(0) 推荐(0)
摘要: 描述小明过生日的时候,爸爸送给他一副乌龟棋当作礼物。 乌龟棋的棋盘是一行N个格子,每个格子上一个分数(非负整数)。棋盘第1格是唯一的起点,第N格是终点,游戏要求玩家控制一个乌龟棋子从起点出发走到终点。 乌龟棋中M张爬行卡片,分成4种不同的类型(M张卡片中不一定包含所有4种类型的卡片,... 阅读全文
posted @ 2017-10-04 18:45 AWCXV 阅读(159) 评论(0) 推荐(0)
摘要: Problem Description There are N hotels all over the world. Each hotel has a location and a price. M guests want to find a hotel with an accept... 阅读全文
posted @ 2017-10-04 18:45 AWCXV 阅读(204) 评论(0) 推荐(0)
摘要: Time Limit: 1 second Memory Limit: 128 MB【问题描述】 全球气候变暖,小镇A面临水灾。于是你必须买一些泵把水抽走。泵的抽水能力可以认为是无穷大,但你必须把泵放在合适的位置 ,从而能使所有的水能流到泵里。小镇可以认为是N * M的矩阵。矩阵里的每... 阅读全文
posted @ 2017-10-04 18:45 AWCXV 阅读(685) 评论(0) 推荐(0)
上一页 1 ··· 164 165 166 167 168 169 170 171 172 ··· 223 下一页