上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 22 下一页
摘要: People in Silverland use coins.They have coins of value A1,A2,A3...An Silverland dollar.One day Tony opened his money-box and found there were some co 阅读全文
posted @ 2018-07-18 15:17 euzmin 阅读(183) 评论(0) 推荐(0) 编辑
摘要: D. Almost Arithmetic Progression time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output D. Almos 阅读全文
posted @ 2018-05-15 09:17 euzmin 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 链接:https://www.nowcoder.com/acm/contest/118/C来源:牛客网 艺术家通常要通过颜料的混合得到某种他想要的但又不是从工厂里面生产出来的原始的那种颜料。为了简便起见, 我们假设每种颜料都可以分成是红绿两个分量的数值指标, 即每种颜料都可以用红绿在其中占据的百分比 阅读全文
posted @ 2018-05-15 08:40 euzmin 阅读(430) 评论(0) 推荐(0) 编辑
摘要: N个整数组成的序列a[1],a[2],a[3],…,a[n],从中选出一个子序列(a[i],a[i+1],…a[j]),使这个子序列的和>0,并且这个和是所有和>0的子序列中最小的。 例如:4,-1,5,-2,-1,2,6,-2。-1,5,-2,-1,序列和为1,是最小的。 Input 第1行:整数 阅读全文
posted @ 2018-05-12 20:44 euzmin 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 非常详细的题解:戳这里 例题:poj-3783 Balls Balls Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 1151 Accepted: 748 Description The classic Two Glass Ba 阅读全文
posted @ 2018-05-10 21:17 euzmin 阅读(472) 评论(0) 推荐(0) 编辑
摘要: 锟斤拷锟接o拷https://www.nowcoder.com/acm/contest/119/A锟斤拷源锟斤拷牛锟斤拷锟斤拷 锟斤拷目锟斤拷锟斤拷 It锟斤拷s universally acknowledged that there锟斤拷re innumerable trees in the ca 阅读全文
posted @ 2018-05-08 23:21 euzmin 阅读(295) 评论(0) 推荐(0) 编辑
摘要: 链接:https://www.nowcoder.com/acm/contest/119/F来源:牛客网 Now HUST got a big land whose capacity is C to plant trees. We have n trees which could be plant i 阅读全文
posted @ 2018-05-06 12:33 euzmin 阅读(442) 评论(0) 推荐(0) 编辑
摘要: “清明时节雨纷纷,路上行人欲断魂。” 然而wfy同学的心情是愉快的,因为BNU ACM队出去春游啦!并且,嗯。。。 以下是wfy同学的日记: 昨天,何老师告诉我们:明天我们去春游,大家准备好喝的和吃的哦! 大家听了都兴奋起来,有的欢呼,有的鼓掌,开心得不得了。第二天,我们早早地来到学校,迫不及待地上 阅读全文
posted @ 2018-05-01 17:55 euzmin 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 题目描述 某人刚学习了数位DP,他在某天忽然思考如下问题: 给定n,问有多少数对<x, y>满足: x, y∈[1, n], x < y x, y中出现的[0, 9]的数码种类相同 某人刚学习了数位DP,他在某天忽然思考如下问题: 给定n,问有多少数对<x, y>满足: x, y∈[1, n], x 阅读全文
posted @ 2018-05-01 14:15 euzmin 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 题目描述 在麦克雷的面前有N个数,以及一个R*C的矩阵。现在他的任务是从N个数中取出 R*C 个,并填入这个矩阵中。矩阵每一行的法值为本行最大值与最小值的差,而整个矩阵的法值为每一行的法值的最大值。现在,麦克雷想知道矩阵的最小法值是多少。 在麦克雷的面前有N个数,以及一个R*C的矩阵。现在他的任务是 阅读全文
posted @ 2018-04-21 23:46 euzmin 阅读(247) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 22 下一页