Neo的博客

Personal programming record

The meaning of "argc" and "argv" in programming

We often find two parameters named "argc" and "argv" in main function like, int main(int argc, char** argv) {return 0;} &qu...

2015-07-06 17:23:48

阅读数:178

评论数:0

Solution to Maximum Subarray in linear-time algorithm with time complexity is O(n)

This algorithm realises the searching method for maximum subarray by changing the initial value when the sum is below 0. The C++ code shows as follow:

2015-07-05 16:34:26

阅读数:219

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭