11 2016 档案

摘要:Description There are some water, milk and wine in your kitchen. Your naughty little sister made some strange drinks by mixing them together, and then 阅读全文
posted @ 2016-11-18 21:31 lmxyy 阅读(324) 评论(0) 推荐(0) 编辑
摘要:Description 这是一道模板题。 本题中你需要求解一个标准型线性规划: 有$n$个实数变量$x_1,x_2,\cdots,x_n$和$m$条约束,其中第$i$条约束形如$\sum_{j=1}^{n}a_{ij}x_{j} \le b_{i}$。 此外这$n$个变量需要满足非负性限制,即$x_ 阅读全文
posted @ 2016-11-17 22:40 lmxyy 阅读(758) 评论(1) 推荐(0) 编辑
摘要:Description You have been struck with inspiration, and are designing a beautiful new art sculpture for the foyer of your local museum. For highly impo 阅读全文
posted @ 2016-11-14 16:54 lmxyy 阅读(293) 评论(0) 推荐(0) 编辑
摘要:Description 现有一颗含$N$个珠子的项链,每个珠子有$t$种不同的染色。现求在旋转置换下有多少种本质不同的项链,在旋转和翻转置换下有多少种本质不同的项链。$N The input file contains several lines of input. Each line contai 阅读全文
posted @ 2016-11-13 20:24 lmxyy 阅读(130) 评论(0) 推荐(0) 编辑
摘要:Description Alan loves to construct the towers of building bricks. His towers consist of many cuboids with square base. All cuboids have the same heig 阅读全文
posted @ 2016-11-13 20:00 lmxyy 阅读(139) 评论(0) 推荐(0) 编辑
摘要:Description Coupons in cereal boxes are numbered $1$ to $n$, and a set of one of each is required for a prize (a cereal box, of course). With one coup 阅读全文
posted @ 2016-11-11 16:50 lmxyy 阅读(174) 评论(0) 推荐(0) 编辑
摘要:Description Once upon a time Petya and Gena gathered after another programming competition and decided to play some game. As they consider most modern 阅读全文
posted @ 2016-11-01 23:08 lmxyy 阅读(226) 评论(0) 推荐(0) 编辑