摘要:Liebig's Barrels time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Liebig's Barrels time l
阅读全文
摘要:Switches and Lamps time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output Switches and Lamps ti
阅读全文
摘要:Graph And Its Complement time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Given three num
阅读全文
摘要:Bishwock time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Bishwock time limit per test 1 s
阅读全文
摘要:Micro-World time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Micro-World time limit per t
阅读全文
摘要:Candies time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Candies time limit per test 1 sec
阅读全文
摘要:World Cup time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output World Cup time limit per test 1
阅读全文
摘要:Suit and Tie time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Allen is hosting a formal d
阅读全文
摘要:Divisibility by 25 time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given an integ
阅读全文
摘要:Three displays time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Three displays time limit
阅读全文
摘要:Points and Powers of Two time limit per test 4 seconds memory limit per test 256 megabytes input standard input output standard output Points and Powe
阅读全文
摘要:Equal Sums time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Equal Sums time limit per tes
阅读全文
摘要:A Mist of Florescence time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output As the boat drifts
阅读全文
摘要:A Tide of Riverscape time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Walking along a rive
阅读全文
摘要:Alphabetic Removals time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given a stri
阅读全文
摘要:Bracket Sequences Concatenation Problem time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output
阅读全文
摘要: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
阅读全文
摘要:Nastya Studies Informatics time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Nastya Studies
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:链接:https://www.nowcoder.com/acm/contest/124/I来源:牛客网 题目描述 01背包是是一个普通的动态规划入门问题: 一共有n个物品, 第i个物品的体积为v[i]; 有一个背包容量为m,现在我要挑选一些物品放入这个背包 我现在知道在总体积不超过背包容量的情况下,
阅读全文
摘要:链接:https://www.nowcoder.com/acm/contest/124/D来源:牛客网 题目描述 最近TreeDream沉迷于数字游戏中,发现了一种有趣的数字,有趣的数字定义如下: 给定一组n个数,a[1],a[2],a[3],...,a[n], 初始全为0,现在,在这组数上进行x操
阅读全文
摘要:链接:https://www.nowcoder.com/acm/contest/124/G来源:牛客网 题目描述 2018年4月8日星期日,小龙沉迷于一个叫做组合的游戏。 游戏规则是这样的,原本有一个长度为A的大木板,现在把它分成了n份长度可能不一样的木板。每一个模板的长度为Xi,每次游戏都要把这些
阅读全文
摘要:链接:https://www.nowcoder.com/acm/contest/124/C来源:牛客网 题目描述 小新在学C语言的时候,邝老师告诉他double类型的数据在表示小数的时候,小数点后的有效位是有限的,但是没有告诉他这是为什么,后来他发现0.1的二进制是一个无限循环小数0.0001100
阅读全文