上一页 1 2 3 4 5 6 7 8 ··· 17 下一页
摘要: Description You have devised a new encryption technique which encodes a message by inserting between its characters randomly generated strings in a cl 阅读全文
posted @ 2016-09-27 10:06 邻家那小孩儿 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Description 给定一系列2维平面点的坐标(x, y),其中x和y均为整数,要求用一个最小的长方形框将所有点框在内。长方形框的边分别平行于x和y坐标轴,点落在边上也算是被框在内。 Description 给定一系列2维平面点的坐标(x, y),其中x和y均为整数,要求用一个最小的长方形框将所 阅读全文
posted @ 2016-09-23 22:52 邻家那小孩儿 阅读(119) 评论(0) 推荐(0) 编辑
摘要: Description 大家提到LTC都佩服的不行,不过,如果竞赛只有这一个题目,我敢保证你和他绝对在一个水平线上! 你的任务是: 计算方程x^2+y^2+z^2= num的一个正整数解。 Description 大家提到LTC都佩服的不行,不过,如果竞赛只有这一个题目,我敢保证你和他绝对在一个水平 阅读全文
posted @ 2016-09-23 22:05 邻家那小孩儿 阅读(245) 评论(0) 推荐(0) 编辑
摘要: Description While skimming his phone directory in 1982, Albert Wilansky, a mathematician of Lehigh University,noticed that the telephone number of his 阅读全文
posted @ 2016-09-08 21:22 邻家那小孩儿 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 题意:给你数m,a,b,假设有数p,q,满足p*q<=m同时a/b<=p/q<=1,求当p*q最大的p和q的值 方法:暴力枚举 -_-|| and 优化范围 我们可以注意到在某一个m值得情况下,有一些小于m的值的质数根本不可能去到 以m=1680 a=5 b=16来举例,假设当前枚举的质数为x 那么 阅读全文
posted @ 2016-09-08 16:07 邻家那小孩儿 阅读(146) 评论(0) 推荐(0) 编辑
摘要: Description 小k是时空贸易者,他经常在两个平行宇宙之间往来经商,现在他要从S点到达E点,问最少需要多长时间。(已知小k在同一个宇宙中只能向上下左右四个方向移动,每次移动需要1个单位时间,且不能在危险小行星带'#'中移动,遇到黑洞'O'时,他会被瞬间吸入另一个宇宙的对应的同一位置,比如从一 阅读全文
posted @ 2016-09-07 18:02 邻家那小孩儿 阅读(224) 评论(0) 推荐(1) 编辑
摘要: Description Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,00 阅读全文
posted @ 2016-08-12 15:28 邻家那小孩儿 阅读(163) 评论(0) 推荐(0) 编辑
摘要: Description 在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。 Input 输入含有多组测试数据。 每组数据的第一行是两个正整数,n k, 阅读全文
posted @ 2016-08-12 14:34 邻家那小孩儿 阅读(227) 评论(0) 推荐(0) 编辑
摘要: Description You are in a plane and you are about to be dropped with a parasuit in a crystal maze. As the name suggests, the maze is full of crystals. 阅读全文
posted @ 2016-08-11 19:34 邻家那小孩儿 阅读(334) 评论(0) 推荐(0) 编辑
摘要: Description Winter is approaching! The weather is getting colder and days are becoming shorter. The animals take different measures to adjust themselv 阅读全文
posted @ 2016-08-10 14:52 邻家那小孩儿 阅读(233) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 17 下一页