上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: 简单的传球游戏Time Limit:1000ms Memory Limit:65536KB64-bit integer IO format:%lld Java class name:MainK(3B->C->A2. A->C->B->ASource第十三届北京师范大学程序设计竞赛决赛Authors... 阅读全文
posted @ 2015-05-09 23:56 寻找&星空の孩子 阅读(687) 评论(0) 推荐(0) 编辑
摘要: BellTime Limit:3000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 4767DescriptionWhat? MMM is learning Combinatorics!?Look... 阅读全文
posted @ 2015-05-08 23:48 寻找&星空の孩子 阅读(1376) 评论(0) 推荐(0) 编辑
摘要: 贝尔数贝尔数以埃里克·坦普尔·贝尔(Eric Temple Bell)为名,是组合数学中的一组整数数列,开首是(OEIS的A000110数列):Bell NumberBn是基数为n的集合的划分方法的数目。集合S的一个划分是定义为S的两两不相交的非空子集的族,它们的并是S。例如B3=5因为3个元素的集... 阅读全文
posted @ 2015-05-05 21:27 寻找&星空の孩子 阅读(5812) 评论(1) 推荐(0) 编辑
摘要: One Person GameTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit Status Practice ZOJ 3593DescriptionThere is an interesting and... 阅读全文
posted @ 2015-05-04 22:35 寻找&星空の孩子 阅读(1189) 评论(0) 推荐(0) 编辑
摘要: 引用 数独游戏技巧(图解)一直都有在玩数独一般难度的都能完成可是高难度的就完全没办法了好多累计玩了几十小时都解不出刚刚在网上看到这个介绍数独技巧的帖子真的很实用不过方法太多得慢慢消化。。。引用地狱大坏蛋的数独游戏技巧(图解)i)唯一数法:如果我们发现某个格子中只有一个可用候选数,那么这个格子必然是这... 阅读全文
posted @ 2015-05-03 16:30 寻找&星空の孩子 阅读(1024) 评论(0) 推荐(0) 编辑
摘要: Strange Way to Express IntegersTime Limit:1000MS Memory Limit:131072KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 2891DescriptionElina is... 阅读全文
posted @ 2015-05-03 00:36 寻找&星空の孩子 阅读(640) 评论(0) 推荐(0) 编辑
摘要: C Looooops Description A Compiler Mystery: We are given a C-language style for loop of type for (variable = A; variable != B; variable += C) statement; I.e., a loop which starts by setting variable to value A and while variable is not equal to B, repeats statement followed by increasing the variable by C. We want to know how many times does the statement get executed for particular values of A, B and C, assuming that all arithmetics is calculated in a k-bit unsigned integer type 阅读全文
posted @ 2015-05-02 18:04 寻找&星空の孩子 阅读(315) 评论(0) 推荐(0) 编辑
摘要: X问题Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3921Accepted Submission(s): 1253Problem Descrip... 阅读全文
posted @ 2015-05-02 16:08 寻找&星空の孩子 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 合并果子Time Limit:1 SecMemory Limit:128 MBSubmit:312Solved:113[Submit][Status][Web Board]Description现在有n堆果子,第i堆有ai个果子。现在要把这些果子合并成一堆,每次合并的代价是两堆果子的总果子数。求合并... 阅读全文
posted @ 2015-05-01 22:08 寻找&星空の孩子 阅读(1064) 评论(5) 推荐(0) 编辑
摘要: Shaping RegionsTime Limit:1 SecMemory Limit:128 MBSubmit:124Solved:39[Submit][Status][Web Board]DescriptionN opaque rectangles (1 #include #include #i... 阅读全文
posted @ 2015-05-01 21:46 寻找&星空の孩子 阅读(437) 评论(0) 推荐(0) 编辑
摘要: Modular InverseTime Limit:2 Seconds Memory Limit:65536 KBThe modular modular multiplicative inverse of an integeramodulomis an integerxsuch thata-1≡x(... 阅读全文
posted @ 2015-04-27 23:22 寻找&星空の孩子 阅读(508) 评论(0) 推荐(0) 编辑
摘要: Problem C: Catalan SquareTime Limit:1 SecMemory Limit:128 MBSubmit:42Solved:16[Submit][Status][Web Board]DescriptionInputOutputSample Input0Sample Out... 阅读全文
posted @ 2015-04-27 19:15 寻找&星空の孩子 阅读(303) 评论(0) 推荐(0) 编辑
摘要: Contest2075 - 湖南多校对抗赛(2015.04.26), Clock Pictures,csu1581,kmp 阅读全文
posted @ 2015-04-26 22:58 寻找&星空の孩子 阅读(175) 评论(0) 推荐(0) 编辑
摘要: Contest2075 - 湖南多校对抗赛(2015.04.26),Opening Ceremony,贪心 阅读全文
posted @ 2015-04-26 18:11 寻找&星空の孩子 阅读(178) 评论(0) 推荐(0) 编辑
摘要: Earthstone Keeper,Convert QWERTY to Dvorak,Capture the Flag,Demacia of the Ancients 阅读全文
posted @ 2015-04-25 22:42 寻找&星空の孩子 阅读(325) 评论(0) 推荐(0) 编辑
摘要: Floor FunctionTime Limit:10 Seconds Memory Limit:65536 KBa,b,canddare all positive integers which satisfybc-ad> 0. Your task is to minimize the follow... 阅读全文
posted @ 2015-04-25 21:43 寻找&星空の孩子 阅读(812) 评论(3) 推荐(0) 编辑
摘要: Ace of AcesTime Limit:2 Seconds Memory Limit:65536 KBThere is a mysterious organization calledTime-Space Administrative Bureau(TSAB) in the deep unive... 阅读全文
posted @ 2015-04-25 20:41 寻找&星空の孩子 阅读(748) 评论(0) 推荐(0) 编辑
摘要: C. KiteTime Limit:1000ms Case Time Limit:1000ms Memory Limit:65536KBVova bought a kite construction kit in a market in Guangzhou. The next day the wea... 阅读全文
posted @ 2015-04-19 21:32 寻找&星空の孩子 阅读(644) 评论(0) 推荐(0) 编辑
摘要: That Nice Euler CircuitTime Limit:3000MSMemory Limit:0KB64bit IO Format:%lld & %lluDescriptionLittle Joey invented a scrabble machine that he called E... 阅读全文
posted @ 2015-04-18 16:32 寻找&星空の孩子 阅读(308) 评论(0) 推荐(0) 编辑
摘要: 题意:Morley定理,求D、E、F的坐标 思路:没什么算法,就是几何的应用。注意旋转角就好了。转载请注明出处:寻找&星空の孩子题目链接:UVA11178 1 #include 2 #include 3 #define PI acos(-1.0) 4 using namespace std; 5 ... 阅读全文
posted @ 2015-04-17 23:16 寻找&星空の孩子 阅读(261) 评论(0) 推荐(0) 编辑
摘要: Cylinder CandyTime Limit: 2 Seconds Memory Limit: 65536 KB Special JudgeEdward the confectioner is making a new batch of chocolate covered candy. Each... 阅读全文
posted @ 2015-04-16 21:49 寻找&星空の孩子 阅读(785) 评论(0) 推荐(0) 编辑
摘要: Cylinder CandyTime Limit: 2 Seconds Memory Limit: 65536 KB Special JudgeEdward the confectioner is making a new batch of chocolate covered candy. Each... 阅读全文
posted @ 2015-04-12 23:14 寻找&星空の孩子 阅读(546) 评论(0) 推荐(0) 编辑
摘要: #include#include#includeusing namespace std;int next[50005];char s[50005],t[50005];void getnext()//next[]数组,next[j]的值表示P[0...j-1]中最长后缀的长度等于相同字符序列的前缀。{... 阅读全文
posted @ 2015-04-10 21:07 寻找&星空の孩子 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 1566: The Maze MakersTime Limit:1 SecMemory Limit:128 MBSubmit:90Solved:33[Submit][Status][Web Board]DescriptionThe Maze Makers is a publisher of puzz... 阅读全文
posted @ 2015-04-07 23:46 寻找&星空の孩子 阅读(309) 评论(0) 推荐(0) 编辑
摘要: Contest2073 - 湖南多校对抗赛(2015.04.06)Problem A: (More) MultiplicationTime Limit:1 SecMemory Limit:128 MBSubmit:85Solved:47[Submit][Status][Web Board]Descr... 阅读全文
posted @ 2015-04-06 19:32 寻找&星空の孩子 阅读(653) 评论(0) 推荐(0) 编辑
摘要: 历届试题 高僧斗法 时间限制:1.0s 内存限制:256.0MB问题描述 古时丧葬活动中经常请高僧做法事。仪式结束后,有时会有“高僧斗法”的趣味节目,以舒缓压抑的气氛。 节目大略步骤为:先用粮食(一般是稻米)在地上“画”出若干级台阶(表示N级浮屠)。又有若干小和尚随机地“站”在某个台阶上。最... 阅读全文
posted @ 2015-04-05 23:32 寻找&星空の孩子 阅读(1976) 评论(0) 推荐(1) 编辑
摘要: 历届试题 买不到的数目 时间限制:1.0s 内存限制:256.0MB问题描述小明开了一家糖果店。他别出心裁:把水果糖包成4颗一包和7颗一包的两种。糖果不能拆包卖。小朋友来买糖的时候,他就用这两种包装来组合。当然有些糖果数目是无法组合出来的,比如要买 10 颗糖。你可以用计算机测试一下,在这种包装... 阅读全文
posted @ 2015-04-04 15:35 寻找&星空の孩子 阅读(407) 评论(1) 推荐(0) 编辑
摘要: 历届试题 矩阵翻硬币 时间限制:1.0s 内存限制:256.0MB问题描述 小明先把硬币摆成了一个 n 行 m 列的矩阵。 随后,小明对每一个硬币分别进行一次 Q 操作。 对第x行第y列的硬币进行 Q 操作的定义:将所有第 i*x 行,第 j*y 列的硬币进行翻转。 其中i和j为任意使操作... 阅读全文
posted @ 2015-04-03 16:12 寻找&星空の孩子 阅读(667) 评论(0) 推荐(0) 编辑
摘要: 算法训练 前缀表达式 时间限制:1.0s 内存限制:512.0MB问题描述 编写一个程序,以字符串方式输入一个前缀表达式,然后计算它的值。输入格式为:“运算符 对象1 对象2”,其中,运算符为“+”(加法)、“-”(减法)、“*”(乘法)或“/”(除法),运算对象为不超过10的整数,它们之间用一... 阅读全文
posted @ 2015-04-02 21:46 寻找&星空の孩子 阅读(666) 评论(0) 推荐(0) 编辑
摘要: 最长子串Time Limit:3000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeFZU 2128Description问题很简单,给你一个字符串s,问s的子串中不包含s1,s2...sn的最长串有多长... 阅读全文
posted @ 2015-04-01 23:41 寻找&星空の孩子 阅读(226) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页