<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Alex]]></title><description><![CDATA[开心了就笑，不开心就过会再笑]]></description><link>https://blog.csdn.net/Guard_Mine</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Guard_Mine]]></copyright><item><title><![CDATA[Good Bye 2015 (One University One Question) Round III]]></title><link>https://blog.csdn.net/Guard_Mine/article/details/50642838</link><guid>https://blog.csdn.net/Guard_Mine/article/details/50642838</guid><author>Guard_Mine</author><pubDate>Sun, 07 Feb 2016 13:58:35 +0800</pubDate><description><![CDATA[A. Red packet题意： 
nn个人分mm元的红包，然后告诉你kk个人获得的红包大小，问你如果你想成为手气王（钱拿的最多），至少需要得到多大的红包，或者输出”Impossible”，如果不可能的话，注意红包必须分完,并且每个人获得的红包大小都是整数(>0)(> 0)分析： 
首先可以得到kk个人里的最大值MM，设现在剩下的钱是RR，那么首先要成为手气王，就必须得到至少M+1M+1，但是最多是]]></description><category></category></item><item><title><![CDATA[LightOJ1021---Painful Bases (状压dp)]]></title><link>https://blog.csdn.net/Guard_Mine/article/details/46431199</link><guid>https://blog.csdn.net/Guard_Mine/article/details/46431199</guid><author>Guard_Mine</author><pubDate>Tue, 09 Jun 2015 20:24:36 +0800</pubDate><description><![CDATA[As you know that sometimes base conversion is a painful task. But still there are interesting facts in bases.For convenience let’s assume that we are dealing with the bases from 2 to 16. The valid symb]]></description><category></category></item><item><title><![CDATA[LightOJ1020(博弈)]]></title><link>https://blog.csdn.net/Guard_Mine/article/details/46430435</link><guid>https://blog.csdn.net/Guard_Mine/article/details/46430435</guid><author>Guard_Mine</author><pubDate>Tue, 09 Jun 2015 19:03:30 +0800</pubDate><description><![CDATA[Alice and Bob are playing a game with marbles; you may have played this game in childhood. The game is playing by alternating turns. In each turn a player can take exactly one or two marbles.Both Alice]]></description><category></category></item><item><title><![CDATA[LightOJ1017---Brush (III) (dp)]]></title><link>https://blog.csdn.net/Guard_Mine/article/details/46416931</link><guid>https://blog.csdn.net/Guard_Mine/article/details/46416931</guid><author>Guard_Mine</author><pubDate>Mon, 08 Jun 2015 19:56:52 +0800</pubDate><description><![CDATA[Samir returned home from the contest and got angry after seeing his room dusty. Who likes to see a dusty room after a brain storming programming contest? After checking a bit he found a brush in his ro]]></description><category></category></item><item><title><![CDATA[LightOJ1016---Brush (II) (贪心)]]></title><link>https://blog.csdn.net/Guard_Mine/article/details/46416193</link><guid>https://blog.csdn.net/Guard_Mine/article/details/46416193</guid><author>Guard_Mine</author><pubDate>Mon, 08 Jun 2015 18:23:47 +0800</pubDate><description><![CDATA[After the long contest, Samee returned home and got angry after seeing his room dusty. Who likes to see a dusty room after a brain storming programming contest? After checking a bit he found a brush in]]></description><category></category></item><item><title><![CDATA[LightOJ1010---Knights in Chessboard (规律题)]]></title><link>https://blog.csdn.net/Guard_Mine/article/details/46413251</link><guid>https://blog.csdn.net/Guard_Mine/article/details/46413251</guid><author>Guard_Mine</author><pubDate>Mon, 08 Jun 2015 15:25:15 +0800</pubDate><description><![CDATA[Given an m x n chessboard where you want to place chess knights. You have to find the number of maximum knights that can be placed in the chessboard such that no two knights attack each other.Those who]]></description><category></category></item><item><title><![CDATA[LightOJ1013---Love Calculator (dp)]]></title><link>https://blog.csdn.net/Guard_Mine/article/details/46404913</link><guid>https://blog.csdn.net/Guard_Mine/article/details/46404913</guid><author>Guard_Mine</author><pubDate>Sun, 07 Jun 2015 22:10:52 +0800</pubDate><description><![CDATA[Yes, you are developing a ‘Love calculator’. The software would be quite complex such that nobody could crack the exact behavior of the software.So, given two names your software will generate the perc]]></description><category></category></item><item><title><![CDATA[LightOJ1012---Guilty Prince (并查集)]]></title><link>https://blog.csdn.net/Guard_Mine/article/details/46402609</link><guid>https://blog.csdn.net/Guard_Mine/article/details/46402609</guid><author>Guard_Mine</author><pubDate>Sun, 07 Jun 2015 18:09:02 +0800</pubDate><description><![CDATA[Once there was a king named Akbar. He had a son named Shahjahan. For an unforgivable reason the king wanted him to leave the kingdom. Since he loved his son he decided his son would be banished in a ne]]></description><category></category></item><item><title><![CDATA[LightOJ1011---Marriage Ceremonies (状压dp)]]></title><link>https://blog.csdn.net/Guard_Mine/article/details/46386421</link><guid>https://blog.csdn.net/Guard_Mine/article/details/46386421</guid><author>Guard_Mine</author><pubDate>Sat, 06 Jun 2015 11:08:45 +0800</pubDate><description><![CDATA[You work in a company which organizes marriages. Marriages are not that easy to be made, so, the job is quite hard for you.The job gets more difficult when people come here and give their bio-data with]]></description><category></category></item><item><title><![CDATA[Codeforces Round #306 (Div. 2)]]></title><link>https://blog.csdn.net/Guard_Mine/article/details/46382319</link><guid>https://blog.csdn.net/Guard_Mine/article/details/46382319</guid><author>Guard_Mine</author><pubDate>Fri, 05 Jun 2015 22:14:21 +0800</pubDate><description><![CDATA[A.给定一个字符串,问是否存在不重叠的两个串”AB”和”BA”,顺序任意.先从左到右遍历一遍,然后找出最靠左的”AB”的位置和”BA”的位置 
然后从右往左遍历一遍,找出最靠右的”BA”的位置和”AB”的位置 
然后比较一下就行了/*************************************************************************
    > File]]></description><category></category></item><item><title><![CDATA[LightOJ1009---Back to Underworld (bfs染色)]]></title><link>https://blog.csdn.net/Guard_Mine/article/details/46375485</link><guid>https://blog.csdn.net/Guard_Mine/article/details/46375485</guid><author>Guard_Mine</author><pubDate>Fri, 05 Jun 2015 13:00:35 +0800</pubDate><description><![CDATA[The Vampires and Lykans are fighting each other to death. The war has become so fierce that, none knows who will win. The humans want to know who will survive finally. But humans are afraid of going to]]></description><category></category></item><item><title><![CDATA[LightOJ1008---Fibsieve`s Fantabulous Birthday (规律)]]></title><link>https://blog.csdn.net/Guard_Mine/article/details/46375293</link><guid>https://blog.csdn.net/Guard_Mine/article/details/46375293</guid><author>Guard_Mine</author><pubDate>Fri, 05 Jun 2015 12:25:32 +0800</pubDate><description><![CDATA[Fibsieve had a fantabulous (yes, it’s an actual word) birthday party this year. He had so many gifts that he was actually thinking of not having a party next year.Among these gifts there was an N x N g]]></description><category></category></item><item><title><![CDATA[POJ2407---Relatives(求单个数的欧拉函数)]]></title><link>https://blog.csdn.net/Guard_Mine/article/details/46365413</link><guid>https://blog.csdn.net/Guard_Mine/article/details/46365413</guid><author>Guard_Mine</author><pubDate>Thu, 04 Jun 2015 18:24:27 +0800</pubDate><description><![CDATA[Description 
Given n, a positive integer, how many positive integers less than n are relatively prime to n? Two integers a and b are relatively prime if there are no integers x > 1, y > 0, z > 0 such t]]></description><category></category></item><item><title><![CDATA[POJ1284---Primitive Roots(求原根个数, 欧拉函数)]]></title><link>https://blog.csdn.net/Guard_Mine/article/details/46365225</link><guid>https://blog.csdn.net/Guard_Mine/article/details/46365225</guid><author>Guard_Mine</author><pubDate>Thu, 04 Jun 2015 18:04:35 +0800</pubDate><description><![CDATA[Description 
We say that integer x, 0 < x < p, is a primitive root modulo odd prime p if and only if the set { (xi mod p) | 1 <= i <= p-1 } is equal to { 1, …, p-1 }. For example, the consecutive power]]></description><category></category></item><item><title><![CDATA[LightOJ1007---Mathematically Hard (欧拉函数)]]></title><link>https://blog.csdn.net/Guard_Mine/article/details/46365189</link><guid>https://blog.csdn.net/Guard_Mine/article/details/46365189</guid><author>Guard_Mine</author><pubDate>Thu, 04 Jun 2015 17:59:16 +0800</pubDate><description><![CDATA[Mathematically some problems look hard. But with the help of the computer, some problems can be easily solvable.In this problem, you will be given two integers a and b. You have to find the summation o]]></description><category></category></item><item><title><![CDATA[LightOJ1006---Hex-a-bonacci(矩阵快速幂)]]></title><link>https://blog.csdn.net/Guard_Mine/article/details/46351929</link><guid>https://blog.csdn.net/Guard_Mine/article/details/46351929</guid><author>Guard_Mine</author><pubDate>Wed, 03 Jun 2015 21:47:34 +0800</pubDate><description><![CDATA[Given a code (not optimized), and necessary inputs, you have to find the output of the code for the inputs. The code is as follows:int a, b, c, d, e, f;
int fn( int n ) {
    if( n == 0 ) return a;]]></description><category></category></item><item><title><![CDATA[LightOJ1005---Rooks(简单组合数学)]]></title><link>https://blog.csdn.net/Guard_Mine/article/details/46351445</link><guid>https://blog.csdn.net/Guard_Mine/article/details/46351445</guid><author>Guard_Mine</author><pubDate>Wed, 03 Jun 2015 21:10:37 +0800</pubDate><description><![CDATA[A rook is a piece used in the game of chess which is played on a board of square grids. A rook can only move vertically or horizontally from its current position and two rooks attack each other if one]]></description><category></category></item><item><title><![CDATA[LightOJ1003---Drunk(拓扑排序判环)]]></title><link>https://blog.csdn.net/Guard_Mine/article/details/46341927</link><guid>https://blog.csdn.net/Guard_Mine/article/details/46341927</guid><author>Guard_Mine</author><pubDate>Wed, 03 Jun 2015 10:38:57 +0800</pubDate><description><![CDATA[One of my friends is always drunk. So, sometimes I get a bit confused whether he is drunk or not. So, one day I was talking to him, about his drinks! He began to describe his way of drinking. So, let m]]></description><category></category></item><item><title><![CDATA[LightOJ1002---Country Roads (最短路变形)]]></title><link>https://blog.csdn.net/Guard_Mine/article/details/46334657</link><guid>https://blog.csdn.net/Guard_Mine/article/details/46334657</guid><author>Guard_Mine</author><pubDate>Tue, 02 Jun 2015 20:27:40 +0800</pubDate><description><![CDATA[I am going to my home. There are many cities and many bi-directional roads between them. The cities are numbered from 0 to n-1 and each road has a cost. There are m roads. You are given the number of m]]></description><category></category></item><item><title><![CDATA[hdu2227---Find the nondecreasing subsequences(dp+树状数组)]]></title><link>https://blog.csdn.net/Guard_Mine/article/details/46333689</link><guid>https://blog.csdn.net/Guard_Mine/article/details/46333689</guid><author>Guard_Mine</author><pubDate>Tue, 02 Jun 2015 18:52:33 +0800</pubDate><description><![CDATA[Problem Description 
How many nondecreasing subsequences can you find in the sequence S = {s1, s2, s3, …., sn} ? For example, we assume that S = {1, 2, 3}, and you can find seven nondecreasing subseque]]></description><category></category></item></channel></rss>