摘要: 题目Rotate an array of n elements to the right by k steps.For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3,4].Not... 阅读全文
posted @ 2015-05-03 18:07 stemon 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 如果只是测试小程序可以用这种方法 比较方便,如果对于大程序建议使用专业的IDE。经常需要写一些小程序来运行,又不想运行Visual Studio、Eclipse这样的环境,而Notepad++是一个好的选择,下面介绍如何在Notepad++中配置C、C++编译环境。为便于编程,打开notepad--... 阅读全文
posted @ 2015-05-03 16:42 stemon 阅读(2322) 评论(0) 推荐(0) 编辑