摘要: Curling 2.0DescriptionOn Planet MM-21, after their Olympic games this year, curling is getting popular. But the rules are somewhat different from ours... 阅读全文
posted @ 2014-10-30 20:24 Enumz 阅读(296) 评论(0) 推荐(0) 编辑
摘要: Strange Way to Express IntegersDescriptionElina is reading a book written by Rujia Liu, which introduces a strange way to express non-negative integer... 阅读全文
posted @ 2014-10-30 19:33 Enumz 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 算法总结之求解模线性方程组1)求解模线性方程 ax = b(mod n) 方程ax = b(mod n) -> ax = b + ny ->ax - ny = b -> ax + n (-y) =b 其中a,n,b已知。 可用扩展欧几里得来求解该方程的一组特解。 这里给出下列几个定理用来求解方... 阅读全文
posted @ 2014-10-30 19:15 Enumz 阅读(1655) 评论(0) 推荐(1) 编辑
摘要: The Embarrassed CryptographerDescriptionThe young and very promising cryptographer Odd Even has implemented the security module of a large system with... 阅读全文
posted @ 2014-10-30 16:18 Enumz 阅读(197) 评论(0) 推荐(0) 编辑
摘要: Longest Ordered SubsequenceDescriptionA numeric sequence of ai is ordered if a1 File Name: poj2533.cpp 3 > Author: Enumz 4 > Mail: 369372123@... 阅读全文
posted @ 2014-10-30 16:01 Enumz 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Network SaboteurDescriptionA university network is composed of N computers. System administrators gathered information on the traffic between nodes, a... 阅读全文
posted @ 2014-10-30 15:58 Enumz 阅读(223) 评论(0) 推荐(0) 编辑
摘要: Colored SticksDescriptionYou are given a bunch of wooden sticks. Each endpoint of each stick is colored with some color. Is it possible to align the s... 阅读全文
posted @ 2014-10-30 15:41 Enumz 阅读(235) 评论(0) 推荐(0) 编辑