上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 76 下一页
摘要: //本代码不可运行代码 #include int main(){ auto//自动的 static//静态的 register//寄存器的 extern//外部的--(声明) return 0; } /* 静态变量求n的阶乘 #include using namespace std; int f(int x){ static int... 阅读全文
posted @ 2016-06-27 15:50 神犇(shenben) 阅读(185) 评论(0) 推荐(0) 编辑
摘要: Eqs Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 15133 Accepted: 7426 Description Consider equations having the following form: a1x13+ a 阅读全文
posted @ 2016-06-27 11:07 神犇(shenben) 阅读(365) 评论(0) 推荐(0) 编辑
摘要: Spell checker Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 23998 Accepted: 8754 Description You, as a member of a development team for a 阅读全文
posted @ 2016-06-27 10:50 神犇(shenben) 阅读(240) 评论(0) 推荐(0) 编辑
摘要: Babelfish Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 39585 Accepted: 16891 Description You have just moved from Waterloo to a big city 阅读全文
posted @ 2016-06-27 09:55 神犇(shenben) 阅读(795) 评论(0) 推荐(0) 编辑
摘要: 3149 爱改名的小融 2 时间限制: 2 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 题解 3149 爱改名的小融 2 3149 爱改名的小融 2 时间限制: 2 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 时间限制: 2 s 空间限制: 128000 阅读全文
posted @ 2016-06-27 07:56 神犇(shenben) 阅读(389) 评论(0) 推荐(0) 编辑
摘要: Candies Time Limit: 1500MS Memory Limit: 131072K Total Submissions: 28133 Accepted: 7766 Description During the kindergarten days, flymouse was the mo 阅读全文
posted @ 2016-06-26 21:31 神犇(shenben) 阅读(437) 评论(0) 推荐(0) 编辑
摘要: 2431: [HAOI2009]逆序对数列 Description 对于一个数列{ai},如果有i<j且ai>aj,那么我们称ai与aj为一对逆序对数。若对于任意一个由1~n自然数组成的数列,可以很容易求出有多少个逆序对数。那么逆序对数为k的这样自然数数列到底有多少个? 对于一个数列{ai},如果有 阅读全文
posted @ 2016-06-26 20:26 神犇(shenben) 阅读(334) 评论(0) 推荐(0) 编辑
摘要: P1541 乌龟棋 题目背景 小明过生日的时候,爸爸送给他一副乌龟棋当作礼物。 题目描述 乌龟棋的棋盘是一行N个格子,每个格子上一个分数(非负整数)。棋盘第1格是唯一的起点,第N格是终点,游戏要求玩家控制一个乌龟棋子从起点出发走到终点。 乌龟棋中M张爬行卡片,分成4种不同的类型(M张卡片中不一定包含 阅读全文
posted @ 2016-06-26 17:51 神犇(shenben) 阅读(309) 评论(0) 推荐(0) 编辑
摘要: P1091 合唱队形 题目描述 N位同学站成一排,音乐老师要请其中的(N-K)位同学出列,使得剩下的K位同学排成合唱队形。 合唱队形是指这样的一种队形:设K位同学从左到右依次编号为1,2…,K,他们的身高分别为T1,T2,…,TK, 则他们的身高满足T1<...<Ti>Ti+1>…>TK(1<=i< 阅读全文
posted @ 2016-06-26 17:35 神犇(shenben) 阅读(303) 评论(0) 推荐(0) 编辑
摘要: P1020 导弹拦截 题目描述 某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统。但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能高于前一发的高度。某天,雷达捕捉到敌国的导弹来袭。由于该系统还在试用阶段,所以只有一套系统,因此有可能不能拦截所有的导弹。 阅读全文
posted @ 2016-06-26 16:55 神犇(shenben) 阅读(555) 评论(0) 推荐(1) 编辑
摘要: P1006 传纸条 题目描述 小渊和小轩是好朋友也是同班同学,他们在一起总有谈不完的话题。一次素质拓展活动中,班上同学安排做成一个m行n列的矩阵,而小渊和小轩被安排在矩阵对角线的两端,因此,他们就无法直接交谈了。幸运的是,他们可以通过传纸条来进行交流。纸条要经由许多同学传到对方手里,小渊坐在矩阵的左 阅读全文
posted @ 2016-06-26 16:18 神犇(shenben) 阅读(444) 评论(0) 推荐(0) 编辑
摘要: Cash Machine Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 32067 Accepted: 11577 Description A Bank plans to install a machine for cash w 阅读全文
posted @ 2016-06-26 15:59 神犇(shenben) 阅读(253) 评论(0) 推荐(0) 编辑
摘要: Coins Time Limit: 3000MS Memory Limit: 30000K Total Submissions: 33998 Accepted: 11554 Description People in Silverland use coins.They have coins of v 阅读全文
posted @ 2016-06-25 21:43 神犇(shenben) 阅读(865) 评论(0) 推荐(0) 编辑
摘要: Dominoes Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 6571 Accepted: 2178 Description A domino is a flat, thumbsized tile, the face of w 阅读全文
posted @ 2016-06-25 20:40 神犇(shenben) 阅读(667) 评论(0) 推荐(1) 编辑
摘要: Balance Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 12995 Accepted: 8142 Description Gigel has a strange "balance" and he wants to pois 阅读全文
posted @ 2016-06-25 18:52 神犇(shenben) 阅读(542) 评论(0) 推荐(0) 编辑
上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 76 下一页