摘要: 问题 A: Too Rich 题目描述 You are a rich person, and you think your wallet is too heavy and full now. So you want to give me some money by buying a lovely p 阅读全文
posted @ 2018-10-03 20:37 Flower_Z 阅读(310) 评论(0) 推荐(0) 编辑
摘要: A - ArcSoft's Office Rearrangement HDU - 5933 题意:现在有n个办公区,每个办公区内有a[i]个办公人员,现在要将这些人均匀的分布在m个办公区内,每个办公区人员必须等价。现在有两个操作,1操作,可以将相邻的两个区域的人员结合在一起,2操作可以将一个办公区的 阅读全文
posted @ 2018-09-25 21:19 Flower_Z 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 题目链接: https://www.nowcoder.com/acm/contest/144/A 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld 题目描述 Jigglypuff is holding a 阅读全文
posted @ 2018-09-14 21:03 Flower_Z 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://www.nowcoder.com/acm/contest/144/J 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld 题目描述 skywalkert, the new legen 阅读全文
posted @ 2018-09-13 21:48 Flower_Z 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://www.nowcoder.com/acm/contest/144/I 时间限制:C/C++ 4秒,其他语言8秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld 题目描述 There are n trains runnin 阅读全文
posted @ 2018-09-12 21:46 Flower_Z 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 问题 I: It’s Time for a Montage 题目描述 The heroes of your favorite action TV show are preparing for the final confrontation with the villains. Fundamental 阅读全文
posted @ 2018-09-07 21:54 Flower_Z 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://nanti.jisuanke.com/t/28852 7998: Attack on Alpha-Zet 题目描述 Space pirate Captain Krys has recently acquired a map of the artificial and hig 阅读全文
posted @ 2018-09-07 21:42 Flower_Z 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 问题 J: Workout for a Dumbbell 题目描述 Jim Ratt has just joined a local fitness center. He’s especially excited about a sequence of 10 machines that he cyc 阅读全文
posted @ 2018-09-07 09:48 Flower_Z 阅读(508) 评论(0) 推荐(0) 编辑
摘要: 感谢https://blog.csdn.net/calabash_boy/article/details/81180001的分享 题意:给你一个n*m的矩阵,每个格子有自己的颜色和权值,现在要你选择一个子矩阵,假设子矩阵的大小是p*q的,子矩阵选择的条件是,将子矩阵无限的平移复制粘贴,原来的n*m的 阅读全文
posted @ 2018-08-24 17:22 Flower_Z 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 题意: 现有n个集装箱摆在一排,每个集装箱有自己的位置x[i]以及现在装有的物品的数量a[i]。现在要在一个位置将这些东西售卖出去,于是需要将产品运送到某一个位置,已知从位置u到位置v运送一个物品需要的体力值是2*abs(u-v);问有体力值消耗不超过T的情况下最多可以售卖多少物品。 做法:首先我们 阅读全文
posted @ 2018-08-24 09:53 Flower_Z 阅读(178) 评论(0) 推荐(0) 编辑