随笔分类 -  搜索

摘要:一、代码: 1、求逆元(原理貌似就是拓展欧几里得,要求MOD是素数): 2、底层优化(正确性未验证): 3、扩栈,这玩意儿在OJ上用能防爆? 4、神速读入fread 二、神牛blog matrix67 ZKW watashi 三、专题 动态规划系列: 数位dp模板 字符串系列: 【专辑】AC自动机 阅读全文
posted @ 2013-08-14 23:48 Oyking 阅读(1316) 评论(0) 推荐(0)
摘要:DescriptionFor a tree, which nodes and edges are all weighted, the ratio of it is calculated according to the following equation.Given a complete grap... 阅读全文
posted @ 2013-08-14 20:33 Oyking 阅读(354) 评论(0) 推荐(0)
摘要:DescriptionSheryl works for a software company in the country of Brada. Her job is to develop a Windows operating system. People in Brada are incredibly conservative. They even never use graphical monitors! So Sheryl’s operating system has to run in text mode and windows in that system are formed by 阅读全文
posted @ 2013-08-14 18:41 Oyking 阅读(1224) 评论(0) 推荐(0)
摘要:DescriptionThis summer's heat wave and drought unleashed devastating wildfires all across the Earth. Of course, a tiny country on the island "Yars and... 阅读全文
posted @ 2013-08-12 23:21 Oyking 阅读(389) 评论(0) 推荐(0)
摘要:Description"Good man never makes girls wait or breaks an appointment!" said the mandarin duck father. Softly touching his little ducks' head, he told them a story."Prince Remmarguts lives in his kingdom UDF – United Delta of Freedom. One day their neighboring country sent them Pri 阅读全文
posted @ 2013-07-29 15:41 Oyking 阅读(259) 评论(0) 推荐(0)
摘要:DescriptionOnce upon a time, in a faraway land, there lived a king. This king owned a small collection of rare and valuable trees, which had been gathered by his ancestors on their travels. To protect his trees from thieves, the king ordered that a high fence be built around them. His wizard was put 阅读全文
posted @ 2013-07-23 12:55 Oyking 阅读(330) 评论(0) 推荐(0)