由于太久远了,已经忘记作者是谁了,如果看到了,真的对不起,希望能给我留个言(我的QQ:543451622)void split(const string& src, const string& separator, vector& dest){ string str = src; str... Read More
posted @ 2015-03-31 16:37 sunalive Views(262) Comments(0) Diggs(0)
问题描述:Rotate an array ofnelements to the right byksteps.For example, withn= 7 andk= 3, the array[1,2,3,4,5,6,7]is rotated to[5,6,7,1,2,3,4].Note:Try to... Read More
posted @ 2015-03-31 11:28 sunalive Views(100) Comments(0) Diggs(0)