I can only say good dragon Boat Festival you do not date? , still writing code here? I am also bored enough, not to go off work is also in the follow-up writing to play! "Looking for girls to QQ number original" original link http://www.cnblogs.com/iforever/p/4584490.html
Title: give a bunch of numbers (631758924 is not QQ number), according to the following rules can find QQ number: First delete the first number, followed by the second number to the end of the string, then the third number is deleted, and the fourth number is placed at the end of this string of numbers ... ... So loop, know the last number left, the last number is also deleted, in accordance with the order of the deletion, the number is linked to the goddess QQ number.
The following is C # through QQ (615947283) number to get the number of the problem
Private stringREQQ (stringQQ) { stringtemp =""; Temp= QQ. Substring (QQ. Length-2),1) + QQ. Substring (QQ. Length-1),1); while(temp. Length <QQ. Length) {Temp= QQ. Substring (QQ. Length-temp. Length-1),1) +temp; Temp= temp[0] + temp. Substring (temp. Length-1) + Temp. Substring (1, temp. Length-2); } returntemp;}
By the way to post a method to get QQ
Private string GETQQ (string Num) {//num:631758924 var""; while 1 ) { + = num[0] ; = Num.substring (2) + num[1]; } return temp + Num;}
Beauty Programmer is how to convert QQ into the title of the string of numbers-read the blog "to find a goddess QQ number"