Processing math: 100%

08 2018 档案

摘要:题目大意: 有 n 个物体 第 i 个物体的体积为 wi 价值为 vi 背包容积为 W 求所有挑选方案中价值总和的最大值 解法1: 针对每个物品是否放入背包进行搜索 时间复杂度:O(2n) 代码: 解法2: 记忆化搜索,把第一次计算结果存到 dp 数组中,第二次之后如果 阅读全文
posted @ 2018-08-30 22:02 丧心病狂工科女 阅读(158) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805046380707840/problems/994805070149828608 给定两个整数集合,它们的相似度定义为:/。其中N​c​​是两个集合都有的不相等整数的个数,N​t​​是两个集合一共有的不相等整数的个数。你的任务 阅读全文
posted @ 2018-08-30 13:11 丧心病狂工科女 阅读(209) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805046380707840/problems/994805086365007872 大家应该都会玩“锤子剪刀布”的游戏:两人同时给出手势,胜负规则如图所示: 现要求你编写一个稳赢不输的程序,根据对方的出招,给出对应的赢招。但是! 阅读全文
posted @ 2018-08-30 13:06 丧心病狂工科女 阅读(301) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805046380707840/problems/994805082313310208 给定两个矩阵A和B,要求你计算它们的乘积矩阵AB。需要注意的是,只有规模匹配的矩阵才可以相乘。即若A有R​a​​行、C​a​​列,B有R​b​​ 阅读全文
posted @ 2018-08-29 20:54 丧心病狂工科女 阅读(299) 评论(0) 推荐(0) 编辑
摘要:贪心练习 题目大意: 直线上有 N 个点, 点 i 的位置是 Xi 。从这些点中选取若干个,给他们加上标记,对每一个点,其距离为 R 以内的区域里必须有一个带标记的点,在这个条件下希望尽可能少的添加标记,球被加上标记的点的个数 题解: 从最左开始考虑,距离为 R 以内最远的点,因 阅读全文
posted @ 2018-08-29 12:36 丧心病狂工科女 阅读(180) 评论(0) 推荐(0) 编辑
摘要:贪心练习 题目大意: 给定长度为 len 的字符串 S ,要构造一个长度为 N 的字符串 T 。起初 T 是一个空串, 随后反复进行如下操作:从 S 的头部或者尾部删除一个字符加到 T 的尾部, 构造一个字典序尽可能小的字符串 T 题解: 从字典序的性质, 无论 $T 阅读全文
posted @ 2018-08-29 10:58 丧心病狂工科女 阅读(179) 评论(0) 推荐(0) 编辑
摘要:练习优先队列的第一道题 题意: 一辆卡车需要行驶 L 的距离, 卡车油箱里有 P 单位的油 , 每行驶一单位长度耗费一单位的油, 在沿途有 N 个加油站 ,第 i 个加油站在距离起点 Ai 的位置,可以加 Bi 单位的油,假设油箱容量无限大, 最少加多少次油可以到达终点 样例 阅读全文
posted @ 2018-08-28 13:11 丧心病狂工科女 阅读(139) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2037 Problem Description “今年暑假不AC?”“是的。”“那你干什么呢?”“看世界杯呀,笨蛋!”“@#$%^&*%...”确实如此,世界杯来了,球迷的节日也来了,估计很多ACMer也会抛开电脑 阅读全文
posted @ 2018-08-26 09:50 丧心病狂工科女 阅读(147) 评论(0) 推荐(0) 编辑
摘要:https://vjudge.net/contest/68264#problem/R The Sultan of Nubia has no children, so she has decided that the country will be split into up to k separat 阅读全文
posted @ 2018-08-25 14:32 丧心病狂工科女 阅读(344) 评论(0) 推荐(0) 编辑
摘要:https://vjudge.net/contest/67836#problem/M There is a beautiful river in a small village. N rocks are arranged in a straight line numbered 1 to N from 阅读全文
posted @ 2018-08-24 13:12 丧心病狂工科女 阅读(227) 评论(0) 推荐(0) 编辑
摘要:https://vjudge.net/contest/67836#problem/L Out of N soldiers, standing in one line, it is required to choose several to send them scouting. In order t 阅读全文
posted @ 2018-08-24 13:09 丧心病狂工科女 阅读(233) 评论(0) 推荐(0) 编辑
摘要:https://vjudge.net/contest/67836#problem/K n people numbered 1 to n around a circle, we eliminate every second remaining person until only one survive 阅读全文
posted @ 2018-08-24 13:06 丧心病狂工科女 阅读(205) 评论(0) 推荐(0) 编辑
摘要:https://vjudge.net/contest/67836#problem/J Two players, Stan and Ollie, play, starting with two natural numbers. Stan, the first player, subtracts any 阅读全文
posted @ 2018-08-24 13:03 丧心病狂工科女 阅读(247) 评论(0) 推荐(0) 编辑
摘要:https://vjudge.net/contest/67836#problem/H Given a specified total t and a list of n integers, find all distinct sums using numbers from the list that 阅读全文
posted @ 2018-08-24 12:37 丧心病狂工科女 阅读(160) 评论(0) 推荐(0) 编辑
摘要:https://vjudge.net/contest/67836#problem/G People in Silverland use square coins. Not only they have square shapes but also their values are square nu 阅读全文
posted @ 2018-08-24 12:31 丧心病狂工科女 阅读(223) 评论(0) 推荐(0) 编辑
摘要:https://vjudge.net/contest/67836#problem/F "The item is locked in a Klein safe behind a painting in the second-floor library. Klein safes are extremel 阅读全文
posted @ 2018-08-24 12:24 丧心病狂工科女 阅读(217) 评论(0) 推荐(0) 编辑
摘要:https://vjudge.net/contest/67836#problem/E A ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n into each circle separa 阅读全文
posted @ 2018-08-24 12:15 丧心病狂工科女 阅读(301) 评论(0) 推荐(0) 编辑
摘要:https://vjudge.net/contest/67836#problem/C The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the 阅读全文
posted @ 2018-08-24 11:14 丧心病狂工科女 阅读(187) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2544 Problem Description 在每年的校赛里,所有进入决赛的同学都会获得一件很漂亮的t-shirt。但是每当我们的工作人员把上百件的衣服从商店运回到赛场的时候,却是非常累的!所以现在他们想要寻找最 阅读全文
posted @ 2018-08-24 10:23 丧心病狂工科女 阅读(109) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805342720868352/problems/994805348915855360 The "eight queens puzzle" is the problem of placing eight chess queens o 阅读全文
posted @ 2018-08-24 10:16 丧心病狂工科女 阅读(352) 评论(0) 推荐(0) 编辑
摘要:https://vjudge.net/contest/67836#problem/R 用1,2,...,n表示n个盘子,称为1号盘,2号盘,...。号数大盘子就大。经典的汉诺塔问 题经常作为一个递归的经典例题存在。可能有人并不知道汉诺塔问题的典故。汉诺塔来源于 印度传说的一个故事,上帝创造世界时作了 阅读全文
posted @ 2018-08-20 10:39 丧心病狂工科女 阅读(270) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805046380707840/problems/994805091888906240 中国的古人写文字,是从右向左竖向排版的。本题就请你编写程序,把一段文字按古风排版。 输入格式: 输入在第一行给出一个正整数N(<100),是每一 阅读全文
posted @ 2018-08-18 21:51 丧心病狂工科女 阅读(341) 评论(0) 推荐(1) 编辑
摘要:https://pintia.cn/problem-sets/994805046380707840/problems/994805054698012672 古人云:秀恩爱,分得快。 互联网上每天都有大量人发布大量照片,我们通过分析这些照片,可以分析人与人之间的亲密度。如果一张照片上出现了 K 个人, 阅读全文
posted @ 2018-08-18 21:35 丧心病狂工科女 阅读(534) 评论(0) 推荐(0) 编辑
摘要:https://vjudge.net/contest/67836#problem/A There are another kind of Fibonacci numbers: F(0) = 7, F(1) = 11, F(n) = F(n-1) + F(n-2) (n>=2) InputInput 阅读全文
posted @ 2018-08-12 22:14 丧心病狂工科女 阅读(107) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2079 Problem Description 又到了选课的时间了,xhd看着选课表发呆,为了想让下一学期好过点,他想知道学n个学分共有多少组合。你来帮帮他吧。(xhd认为一样学分的课没区别) Input 输入数据 阅读全文
posted @ 2018-08-12 22:09 丧心病狂工科女 阅读(207) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1016 Problem Description A ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n 阅读全文
posted @ 2018-08-12 22:04 丧心病狂工科女 阅读(114) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1181 Problem Description 呃......变形课上Harry碰到了一点小麻烦,因为他并不像Hermione那样能够记住所有的咒语而随意的将一个棒球变成刺猬什么的,但是他发现了变形咒语的一个统一规 阅读全文
posted @ 2018-08-12 22:00 丧心病狂工科女 阅读(141) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805046380707840/problems/994805074646122496 一群人坐在一起,每人猜一个 100 以内的数,谁的数字最接近大家平均数的一半就赢。本题就要求你找出其中的赢家。 输入格式: 输入在第一行给出一个 阅读全文
posted @ 2018-08-12 21:54 丧心病狂工科女 阅读(605) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805046380707840/problems/994805084284633088 这里所谓的“光棍”,并不是指单身汪啦~ 说的是全部由1组成的数字,比如1、11、111、1111等。传说任何一个光棍都能被一个不以5结尾的奇数整 阅读全文
posted @ 2018-08-12 21:50 丧心病狂工科女 阅读(308) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2181 Problem Description 一个规则的实心十二面体,它的 20个顶点标出世界著名的20个城市,你从一个城市出发经过每个城市刚好一次后回到出发的城市。 Input 前20行的第i行有3个数,表示与 阅读全文
posted @ 2018-08-10 13:46 丧心病狂工科女 阅读(167) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805046380707840/problems/994805124398956544 美国总统奥巴马不仅呼吁所有人都学习编程,甚至以身作则编写代码,成为美国历史上首位编写计算机代码的总统。2014年底,为庆祝“计算机科学教育周”正 阅读全文
posted @ 2018-08-09 23:11 丧心病狂工科女 阅读(210) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805046380707840/problems/994805121500692480 一个整数“犯二的程度”定义为该数字中包含2的个数与其位数的比值。如果这个数是负数,则程度增加0.5倍;如果还是个偶数,则再增加1倍。例如数字“- 阅读全文
posted @ 2018-08-09 23:10 丧心病狂工科女 阅读(188) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2100 Problem Description XYZ-26进制数是一个每位都是大写字母的数字。 A、B、C、…、X、Y、Z 分别依次代表一个0 ~ 25 的数字,一个 n 位的26进制数转化成是10进制的规则如下 阅读全文
posted @ 2018-08-09 23:08 丧心病狂工科女 阅读(162) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2111 Problem Description 话说上回讲到海东集团面临内外交困,公司的元老也只剩下XHD夫妇二人了。显然,作为多年拼搏的商人,XHD不会坐以待毙的。 一天,当他正在苦思冥想解困良策的时候,突然想到 阅读全文
posted @ 2018-08-09 19:55 丧心病狂工科女 阅读(118) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2132 Problem Description We once did a lot of recursional problem . I think some of them is easy for you and 阅读全文
posted @ 2018-08-09 19:53 丧心病狂工科女 阅读(117) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805342720868352/problems/994805386161274880 Given N rational numbers in the form "numerator/denominator", you are su 阅读全文
posted @ 2018-08-08 22:39 丧心病狂工科女 阅读(623) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805260223102976/problems/994805260353126400 每次 PAT 考试结束后,考试中心都会发布一个考生单位排行榜。本题就请你实现这个功能。 输入格式: 输入第一行给出一个正整数 N(≤),即考生人 阅读全文
posted @ 2018-08-08 21:49 丧心病狂工科女 阅读(315) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805046380707840/problems/994805098188750848 微博上有个“点赞”功能,你可以为你喜欢的博文点个赞表示支持。每篇博文都有一些刻画其特性的标签,而你点赞的博文的类型,也间接刻画了你的特性。本题就 阅读全文
posted @ 2018-08-08 21:45 丧心病狂工科女 阅读(434) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805046380707840/problems/994805100684361728 根据新浪微博上的消息,有一位开发者不满NPM(Node Package Manager)的做法,收回了自己的开源代码,其中包括一个叫left-p 阅读全文
posted @ 2018-08-08 21:44 丧心病狂工科女 阅读(204) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805342720868352/problems/994805435700199424 The task is really simple: given N exits on a highway which forms a simp 阅读全文
posted @ 2018-08-07 21:42 丧心病狂工科女 阅读(283) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805342720868352/problems/994805390896644096 The Japanese language is notorious for its sentence ending particles. Pe 阅读全文
posted @ 2018-08-06 22:32 丧心病狂工科女 阅读(457) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805342720868352/problems/994805470349344768 People in Mars represent the colors in their computers in a similar way 阅读全文
posted @ 2018-08-06 21:43 丧心病狂工科女 阅读(106) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805342720868352/problems/994805478658260992 Notice that the number 123456789 is a 9-digit number consisting exactly 阅读全文
posted @ 2018-08-05 23:14 丧心病狂工科女 阅读(134) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805342720868352/problems/994805487143337984 A number that will be the same when it is written forwards or backwards 阅读全文
posted @ 2018-08-05 23:08 丧心病狂工科女 阅读(310) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805342720868352/problems/994805511923286016 The highest building in our city has only one elevator. A request list i 阅读全文
posted @ 2018-08-05 17:05 丧心病狂工科女 阅读(175) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805342720868352/problems/994805444361437184 Being unique is so important to people on Mars that even their lottery i 阅读全文
posted @ 2018-08-05 17:04 丧心病狂工科女 阅读(230) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805342720868352/problems/994805454989803520 To prepare for PAT, the judge sometimes has to generate random passwords 阅读全文
posted @ 2018-08-05 17:03 丧心病狂工科女 阅读(169) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805342720868352/problems/994805422639136768 Behind the scenes in the computer's memory, color is always talked about 阅读全文
posted @ 2018-08-05 17:01 丧心病狂工科女 阅读(260) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805342720868352/problems/994805429018673152 Given two strings S~1~ and S~2~, S = S~1~ - S~2~ is defined to be the re 阅读全文
posted @ 2018-08-05 17:00 丧心病狂工科女 阅读(115) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805342720868352/problems/994805519074574336 Given a non-negative integer N, your task is to compute the sum of all t 阅读全文
posted @ 2018-08-04 23:23 丧心病狂工科女 阅读(102) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805342720868352/problems/994805343463260160 Given N integers, you are supposed to find the smallest positive integer 阅读全文
posted @ 2018-08-04 23:21 丧心病狂工科女 阅读(432) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805342720868352/problems/994805347145859072 Cutting an integer means to cut a K digits lone integer Z into two integ 阅读全文
posted @ 2018-08-04 23:20 丧心病狂工科女 阅读(98) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2162 Problem Description Write a program to determine the summation of several sets of integers. Input The i 阅读全文
posted @ 2018-08-04 23:18 丧心病狂工科女 阅读(107) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2108 Problem Description 话说上回讲到海东集团推选老总的事情,最终的结果是XHD以微弱优势当选,从此以后,“徐队”的称呼逐渐被“徐总”所取代,海东集团(HDU)也算是名副其实了。创业是需要地盘 阅读全文
posted @ 2018-08-04 23:16 丧心病狂工科女 阅读(101) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2113 Problem Description 有一天, KIKI 收到一张奇怪的信, 信上要KIKI 计算出给定数各个位上数字为偶数的和.eg. 5548结果为12 , 等于 4 + 8KIKI 很苦恼. 想请你 阅读全文
posted @ 2018-08-04 09:14 丧心病狂工科女 阅读(191) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2164 Problem Description Rock, Paper, Scissors is a two player game, where each player simultaneously choose 阅读全文
posted @ 2018-08-04 09:13 丧心病狂工科女 阅读(251) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2178 Problem Description A有1数m,B来猜.B每猜一次,A就说"太大","太小"或"对了" 。 问B猜n次可以猜到的最大数。 Input 第1行是整数T,表示有T组数据,下面有T行 每行一个 阅读全文
posted @ 2018-08-04 09:11 丧心病狂工科女 阅读(104) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1846 Problem Description 十年前读大学的时候,中国每年都要从国外引进一些电影大片,其中有一部电影就叫《勇敢者的游戏》(英文名称:Zathura),一直到现在,我依然对于电影中的部分电脑特技印象 阅读全文
posted @ 2018-08-04 09:10 丧心病狂工科女 阅读(131) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2188 Problem Description 对于四川同胞遭受的灾难,全国人民纷纷伸出援助之手,几乎每个省市都派出了大量的救援人员,这其中包括抢险救灾的武警部队,治疗和防疫的医护人员,以及进行心理疏导的心理学专家 阅读全文
posted @ 2018-08-04 09:05 丧心病狂工科女 阅读(150) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2186 Problem Description 当抢救人员发现她的时候,她已经死了,是被垮塌下来的房子压死的,透过那一堆废墟的的间隙可以看到她死亡的姿势,双膝跪着,整个上身向前匍匐着,双手扶着地支撑着身体,有些象古 阅读全文
posted @ 2018-08-04 09:01 丧心病狂工科女 阅读(185) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2154 Problem Description 由于长期缺乏运动,小黑发现自己的身材臃肿了许多,于是他想健身,更准确地说是减肥。小黑买来一块圆形的毯子,把它们分成三等分,分别标上A,B,C,称之为“跳舞毯”,他的运 阅读全文
posted @ 2018-08-04 08:59 丧心病狂工科女 阅读(125) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2156 Problem Description 我们定义如下矩阵:1/1 1/2 1/31/2 1/1 1/21/3 1/2 1/1矩阵对角线上的元素始终是1/1,对角线两边分数的分母逐个递增。请求出这个矩阵的总和 阅读全文
posted @ 2018-08-04 08:57 丧心病狂工科女 阅读(161) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2105 Problem Description Everyone know the story that how Newton discovered the Universal Gravitation. One d 阅读全文
posted @ 2018-08-02 23:31 丧心病狂工科女 阅读(92) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2103 Problem Description As far as we known,there are so many people in this world,expecially in china.But m 阅读全文
posted @ 2018-08-02 23:29 丧心病狂工科女 阅读(308) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2107 Problem Description 经过慎重的考虑,XHD,8600, LL,Linle以及RPG等ACM队员集体退役,甚至正在酝酿退学。为什么?要考研?那也不用退学呀…当然不是!真正的原因是他们想提前 阅读全文
posted @ 2018-08-02 23:27 丧心病狂工科女 阅读(122) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2123 Problem Description In this problem you need to make a multiply table of N * N ,just like the sample ou 阅读全文
posted @ 2018-08-02 23:26 丧心病狂工科女 阅读(189) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2134 Problem Description Ice cream took a bronze medal in the Beijing match. Liu sir is very very happy. So 阅读全文
posted @ 2018-08-02 23:24 丧心病狂工科女 阅读(150) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2160 Problem Description 话说现在猪肉价格这么贵,著名的ACBoy 0068 也开始了养猪生活。说来也奇怪,他养的猪一出生第二天开始就能每天中午生一只小猪,而且生下来的竟然都是母猪。不过光生小 阅读全文
posted @ 2018-08-02 23:22 丧心病狂工科女 阅读(176) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2106 Problem Description As we know , we always use the decimal system in our common life, even using the co 阅读全文
posted @ 2018-08-02 23:21 丧心病狂工科女 阅读(124) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2109 Problem Description 在上一回,我们让你猜测海东集团用地的形状,你猜对了吗?不管结果如何,都没关系,下面我继续向大家讲解海东集团的发展情况:在最初的两年里,HDU发展非常迅速,综合各种AC 阅读全文
posted @ 2018-08-02 23:19 丧心病狂工科女 阅读(111) 评论(0) 推荐(0) 编辑
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=2140 Problem Description I believe many people are the fans of prison break. How clever Michael is!! In orde 阅读全文
posted @ 2018-08-02 23:17 丧心病狂工科女 阅读(243) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805342720868352/problems/994805528788582400 Calculate a + b and output the sum in standard format -- that is, the di 阅读全文
posted @ 2018-08-02 23:15 丧心病狂工科女 阅读(275) 评论(0) 推荐(0) 编辑
摘要:https://pintia.cn/problem-sets/994805260223102976/problems/994805269312159744 英国天文学家爱丁顿很喜欢骑车。据说他为了炫耀自己的骑车功力,还定义了一个“爱丁顿数” E ,即满足有 E 天骑车超过 E英里的最大整数 E。据说 阅读全文
posted @ 2018-08-02 23:13 丧心病狂工科女 阅读(147) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示