上一页 1 ··· 4 5 6 7 8 9 下一页
摘要: "HDU 3348" coins Description "Yakexi, this is the best age!" Dong MW works hard and get high pay, he has many 1 Jiao and 5 Jiao banknotes(纸币), some da 阅读全文
posted @ 2019-02-09 12:49 Artoriax 阅读(367) 评论(0) 推荐(0) 编辑
摘要: "CodeForces 985C" Liebig's Barrels Description You have m = n · k wooden staves. The i th stave has length $a_i$. You have to assemble n barrels consi 阅读全文
posted @ 2019-02-09 12:37 Artoriax 阅读(218) 评论(0) 推荐(0) 编辑
摘要: CSU "2034" Column Addition Description A multi digit column addition is a formula on adding two integers written like this: A multi digit column addit 阅读全文
posted @ 2019-02-04 16:19 Artoriax 阅读(239) 评论(0) 推荐(0) 编辑
摘要: CSU "2031" Barareh on Fire Description The Barareh village is on fire due to the attack of the virtual enemy. Several places are already on fire and t 阅读全文
posted @ 2019-02-04 13:17 Artoriax 阅读(139) 评论(0) 推荐(0) 编辑
摘要: CSU "2019" Fleecing the Raffle Description A tremendously exciting raffle is being held, with some tremendously exciting prizes being given out. All y 阅读全文
posted @ 2019-02-04 12:53 Artoriax 阅读(168) 评论(0) 推荐(0) 编辑
摘要: CSU "1908" The Big Escape Description There is a tree like prison. Expect the root node, each node has a prisoner, and the root node is the only exit. 阅读全文
posted @ 2019-02-04 12:26 Artoriax 阅读(176) 评论(0) 推荐(0) 编辑
摘要: CSU "2172" 买一送一 Description ICPCCamp 有 n 个商店,用 1, 2, …, n 编号。对于任意 i 1,有从商店 $p_i$ 到 i 的单向道路。 同时,商店 i 出售类型为 $a_i$ 的商品。 Bobo 从商店 1 出发前往商店 i 。他要在两个不同的商店购买 阅读全文
posted @ 2019-02-04 12:17 Artoriax 阅读(230) 评论(0) 推荐(0) 编辑
摘要: CSU "2116" Polyline Simplification Description Mapping applications often represent the boundaries of countries, cities, etc. as polylines, which are 阅读全文
posted @ 2019-02-03 18:01 Artoriax 阅读(163) 评论(0) 推荐(0) 编辑
摘要: CSU "1980" 不堪重负的树 Description 小X非常喜欢树,然后他生成了一个大森林给自己玩。 玩着玩着,小X陷入了沉思。 一棵树由N个节点组成,编号为i的节点有一个价值Wi。 假设从树根出发前往第i个节点(可能是树根自己),一共需要经过Di个节点(包括起点和终点),那么这个节点对这棵 阅读全文
posted @ 2019-02-02 21:30 Artoriax 阅读(159) 评论(0) 推荐(0) 编辑
摘要: CSU "1974" 神奇药水 Description ​ 对于csuxushu来说,能够在CSU(California State University)组织2017年的ACM暑期集训让他感到十分荣幸。 csuxushu是一名充满梦想的程序员,因此他也希望来参加暑期集训的ACM萌新们和他一样怀揣着 阅读全文
posted @ 2019-02-02 21:09 Artoriax 阅读(203) 评论(0) 推荐(0) 编辑
摘要: CSU "1985" 驱R符 Description 阴阳师中有三中稀有度的式神R,SR,SSR,其中R的稀有度最低,每次抽符,会随机得到一种式神,然而子浩君对R式神已经深恶痛绝。 某天,子浩君突然发现,有一种护身符,叫做驱R符,为什么会驱R?因为很多的R式神有密集恐惧症,而这个符上有很多的交点。 阅读全文
posted @ 2019-02-02 21:02 Artoriax 阅读(141) 评论(0) 推荐(0) 编辑
摘要: CSU "1982" 小M的移动硬盘 Description 最近小M买了一个移动硬盘来储存自己电脑里不常用的文件。但是他把这些文件一股脑丢进移动硬盘后,觉得这些文件似乎没有被很好地归类,这样以后找起来岂不是会非常麻烦? 小M最终决定要把这些文件好好归类,把同一类地移动到一起。所以现在小M有了这几种 阅读全文
posted @ 2019-02-02 20:54 Artoriax 阅读(156) 评论(0) 推荐(0) 编辑
摘要: CSU "2049" 象棋 Description 車是中国象棋中的一种棋子,它能攻击同一行或同一列中没有其他棋子阻隔的棋子。一天,小度在棋盘上摆起了许多車……他想知道,在一共N×M个点的矩形棋盘中摆最多个数的車使其互不攻击的方案数。他经过思考,得出了答案。但他仍不满足,想增加一个条件:对于任何一个 阅读全文
posted @ 2019-02-02 20:44 Artoriax 阅读(143) 评论(0) 推荐(0) 编辑
摘要: CSU "1163" 寒衣调 Description 男从戎,女守家。一夜,狼烟四起,男战死沙场。从此一道黄泉,两地离别。最后,女终于在等待中老去逝去。逝去的最后是换尽一生等到的相逢和团圆。 某日两人至奈何桥前,服下孟婆汤。 每滴孟婆汤都有强度不一的药效,设一碗孟婆汤共N滴(0<N<100000), 阅读全文
posted @ 2019-02-02 20:33 Artoriax 阅读(188) 评论(0) 推荐(0) 编辑
摘要: CSU "2173" Use FFT Description Bobo computes the product P ( x )⋅ Q ( x )=$c_0 + c_1x + … + c_{n+m}x^{n + m}$ for two polynomials P ( x )=$a_0 + a_1x  阅读全文
posted @ 2019-02-02 20:31 Artoriax 阅读(420) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 下一页