摘要: D - StackWrite a program which reads an expression in the Reverse Polish notation and prints the computational result. An expression ... 阅读全文
posted @ 2017-10-28 16:21 GoldenFingers 阅读(217) 评论(0) 推荐(0)
摘要: 插入排序:能快速处理相对有序的数据,最优情况下复杂度仅仅为O(n)(即原本就是有序的数列);#includeusing namespace std;const int maxn = 100;int num[maxn];void InsertionSort(int n)... 阅读全文
posted @ 2017-10-28 14:41 GoldenFingers 阅读(175) 评论(0) 推荐(0)