文件名称:xulie(less20)
介绍说明--下载内容均来自于网络,请自行研究使用
有一个长度为N的数串,x1,x2,x3,x4,x5......xN。按如下方法取数,第一次将位于数串最前面的x1取出,然后将其后的x2,x3移至数串的尾部,第二次将位于数串最前面的x4取出,然后将其后的x5,x6移至数串的尾部。依此顺序,最后取出的数串顺序刚好是1,2,3,4,5.....N。问当用户输入N值后,求出这个数串刚开始的顺序。-Has a length of N number string, x1, x2, x3, x4, X5 ...... xN is. Fetching as follows, the first will be taken out at the frontmost of the number string X1, then subsequent x2 X3 moved number end of the string, and the second will be located in front of the number string x4 retrieving then after x5, x6 moved to the number of string tail. According to this order, and finally remove the order of the number of string exactly 1,2,3,4,5 ..... N. Q When the user inputs the value of N is obtained order number string beginning.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
竞赛题_序列(20以内).e