摘要: 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 给定一个只包含括号和小写字母的字符串S,例如S="a(bc(de)fg)hijk"。 其中括号表示将里面的字符串翻转。(注意括号可能嵌套) 请你输出翻 阅读全文
posted @ 2017-12-27 23:28 咸鱼lzh 阅读(823) 评论(0) 推荐(1) 编辑
摘要: 时间限制: 2.0 秒 空间限制: 512 MB 题目背景 SkyDec和YJQQQAQ都是Yazid的好朋友。他们都非常喜欢吃火锅。有一天,他们聚在一起,享受一场火锅盛宴。 题目描述 在这场火锅盛宴中,有一个麻辣浓汤锅底的火锅和n种食物,每种食物数量都是无限的。我们用1至n将这些食材编号。 每种食 阅读全文
posted @ 2017-12-26 22:58 咸鱼lzh 阅读(358) 评论(2) 推荐(0) 编辑
摘要: As we all know, machine scheduling is a very classical problem in computer science and has been studied for a very long history. Scheduling problems d 阅读全文
posted @ 2017-12-20 17:00 咸鱼lzh 阅读(260) 评论(1) 推荐(1) 编辑
摘要: Bessie wants to navigate her spaceship through a dangerous asteroid field in the shape of an N x N grid (1 <= N <= 500). The grid contains K asteroids 阅读全文
posted @ 2017-12-19 12:49 咸鱼lzh 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 学了几天,不会线代的我终于学会了高斯消元。 其实高斯消元只两步: 第一步:转化为上三角矩阵。通过加减消元实现( i 从 1 到 N 遍历,把第 j (j > i )行的 xi 消掉) 第二步:从底向上代入。 需要注意的是判断多解和无解的情况,还有减小误差的方法。 别的不说了,直接上板子,遇到题套进去 阅读全文
posted @ 2017-12-16 19:04 咸鱼lzh 阅读(214) 评论(0) 推荐(0) 编辑
摘要: Problem Description there are N ACMers in HDU team.ZJPCPC Sunny Cup 2007 is coming, and lcy want to select some excellent ACMers to attend the contest 阅读全文
posted @ 2017-12-10 10:33 咸鱼lzh 阅读(239) 评论(1) 推荐(1) 编辑
摘要: Description Have you ever read any book about treasure exploration? Have you ever see any film about treasure exploration? Have you ever explored trea 阅读全文
posted @ 2017-12-09 23:55 咸鱼lzh 阅读(180) 评论(0) 推荐(1) 编辑
摘要: Description The Global Aerial Research Centre has been allotted the task of building the fifth generation of mobile phone nets in Sweden. The most str 阅读全文
posted @ 2017-12-09 11:10 咸鱼lzh 阅读(263) 评论(1) 推荐(1) 编辑
摘要: 不如说是随笔集锦~~~ http://lzh386520025.blog.163.com/ 阅读全文
posted @ 2017-07-30 22:48 咸鱼lzh 阅读(171) 评论(0) 推荐(0) 编辑