摘要:        
cb47a_c++_STL_算法_排列组合next_prev_permutation 使用前必须先排序。必须是 1,2,3或者3,2,1.否者结果不准确。如果, 1,2,4,6.这样数据不会准确next_permutation()//原始数据是从小到大的, 1,2,3prev_permutation    阅读全文
posted @ 2020-02-25 21:34
txwtech
阅读(248)
评论(0)
推荐(0)
        
            
        
        
摘要:        
cb46a_c++_STL_算法_逆转和旋转reverse_rotateSTL算法--变序性算法reverse() 逆转reverse_copy()一边复制一般逆转rotate()旋转,某个位置开始前后交换位置rotate(ivec2.begin(), ivec2.begin() + 2, ivec    阅读全文
posted @ 2020-02-25 21:10
txwtech
阅读(206)
评论(0)
推荐(0)
        
            
        
        
摘要:        
cb45a_c++_STL_算法_删除_(3)_unique(唯一的意思)删除连续性的重复的数据unique(b,e),删除连续性的,删除重复的数据,比如如果有两个连续的5,5,则留下一个。unique(b,e,p)unique_copy(b1,e1,b2)unique_copy(b1,e1,b2,    阅读全文
posted @ 2020-02-25 15:42
txwtech
阅读(257)
评论(0)
推荐(0)
        
            
        
        
摘要:        
cb44a_c++_STL_算法_删除_(2)remove_copy_remove_copy_if remove_copy()//在复制过程中删除一些数据remove_copy_if() 删除性算法:remove()remove_if()remove_copy()remove_copy_if()un    阅读全文
posted @ 2020-02-25 11:53
txwtech
阅读(395)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号