上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 38 下一页

2018年6月21日

CF992C Nastya and a Wardrobe 数学 第四道

摘要: Nastya and a Wardrobe time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Nastya received a g 阅读全文

posted @ 2018-06-21 21:29 九月旧约 阅读(924) 评论(0) 推荐(0) 编辑

CF992B Nastya Studies Informatics 数学(因子) 暴力求解 第三道

摘要: Nastya Studies Informatics time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Nastya Studies 阅读全文

posted @ 2018-06-21 19:15 九月旧约 阅读(183) 评论(0) 推荐(0) 编辑

CF993A Two Squares 几何 第二道 暴力或判断条件(*)

摘要: Two Squares time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Two Squares time limit per te 阅读全文

posted @ 2018-06-21 16:12 九月旧约 阅读(512) 评论(0) 推荐(0) 编辑

2018年6月20日

CF994B Knights of a Polygonal Table 第一道 贪心 set/multiset的用法

摘要: Knights of a Polygonal Table time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Knights of a 阅读全文

posted @ 2018-06-20 16:57 九月旧约 阅读(374) 评论(0) 推荐(0) 编辑

2018年6月6日

中南林业科技大学第十一届程序设计大赛 背包问题 牛客网

摘要: 链接:https://www.nowcoder.com/acm/contest/124/I来源:牛客网 题目描述 01背包是是一个普通的动态规划入门问题: 一共有n个物品, 第i个物品的体积为v[i]; 有一个背包容量为m,现在我要挑选一些物品放入这个背包 我现在知道在总体积不超过背包容量的情况下, 阅读全文

posted @ 2018-06-06 16:59 九月旧约 阅读(172) 评论(0) 推荐(0) 编辑

中南林业科技大学第十一届程序设计大赛 有趣的数字 牛客网

摘要: 链接:https://www.nowcoder.com/acm/contest/124/D来源:牛客网 题目描述 最近TreeDream沉迷于数字游戏中,发现了一种有趣的数字,有趣的数字定义如下: 给定一组n个数,a[1],a[2],a[3],...,a[n], 初始全为0,现在,在这组数上进行x操 阅读全文

posted @ 2018-06-06 16:23 九月旧约 阅读(147) 评论(0) 推荐(0) 编辑

中南林业科技大学第十一届程序设计大赛 组合游戏 牛客网 哈希算法

摘要: 链接:https://www.nowcoder.com/acm/contest/124/G来源:牛客网 题目描述 2018年4月8日星期日,小龙沉迷于一个叫做组合的游戏。 游戏规则是这样的,原本有一个长度为A的大木板,现在把它分成了n份长度可能不一样的木板。每一个模板的长度为Xi,每次游戏都要把这些 阅读全文

posted @ 2018-06-06 11:44 九月旧约 阅读(151) 评论(0) 推荐(0) 编辑

中南林业科技大学第十一届程序设计大赛 有趣的二进制 牛客网 java大数的一些方法

摘要: 链接:https://www.nowcoder.com/acm/contest/124/C来源:牛客网 题目描述 小新在学C语言的时候,邝老师告诉他double类型的数据在表示小数的时候,小数点后的有效位是有限的,但是没有告诉他这是为什么,后来他发现0.1的二进制是一个无限循环小数0.0001100 阅读全文

posted @ 2018-06-06 11:32 九月旧约 阅读(186) 评论(0) 推荐(0) 编辑

2018年5月27日

牛客网 湖南大学2018年第十四届程序设计竞赛重现赛 A game

摘要: 链接:https://www.nowcoder.com/acm/contest/125/A来源:牛客网 Tony and Macle are good friends. One day they joined a birthday party together. Fortunately, they 阅读全文

posted @ 2018-05-27 20:53 九月旧约 阅读(367) 评论(0) 推荐(0) 编辑

2018年5月10日

There is No Alternative CSU - 2097 最小生成树

摘要: Description ICPC (Isles of Coral Park City) consist of several beautiful islands. The citizens requested construction of bridges between islands to re 阅读全文

posted @ 2018-05-10 20:07 九月旧约 阅读(176) 评论(0) 推荐(0) 编辑

上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 38 下一页

导航