#include <algorithm>
//vector排序去重
sort( BoxNum.begin(), BoxNum.end());
BoxNum.erase(unique(BoxNum.begin(), BoxNum.end()), BoxNum.end());
 //逆向排序:按照从大到小的顺序进行排序
sort(DeleteAll.rbegin(), DeleteAll.rend()); //vector反向排序
reverse(points.begin(), points.end());

最新文章

  1. XML的简介及其与HTML的区别及联系
  2. ACM-JAVA基础
  3. Matlab_Graphics(1)_2D
  4. Oracle数据库迁移到AWS云的方案
  5. reduce方法
  6. 【帖子】怎么彻底删除kafka的topic,然后重建?
  7. Windows定时器
  8. 获取客户端的IP地址
  9. poj 2586 Y2K Accounting Bug
  10. XCode: Target Settings和Project Settings的区别
  11. WPF属性与特性的映射(TypeConverter)
  12. 常用位操作,读8位 I2C 1302 18B20 .
  13. Codeforces Round #363 (Div. 2)D. Fix a Tree(并查集)
  14. linux命令之查看字符集
  15. 利用Photoshop减小照片景深
  16. Elastic Stack-Elasticsearch使用介绍(二)
  17. postgresql分析函数
  18. ftp服务器使用-windowsftp服务起搭建
  19. Linux 环境变量梳理
  20. angular 2 - 005 路由实现机制

热门文章

  1. Nginx---系统学习
  2. 【leetcode】958. Check Completeness of a Binary Tree
  3. html根标签设置font-size为100px,使用rem,body没设置字体大小
  4. BZOJ 3328: PYXFIB 解题报告
  5. PXE预启动执行环境的搭建
  6. Qt 线程基础(QThread、QtConcurrent、QThreadPool等)
  7. 四:RF框架appium工具之xpath定位
  8. python re模块使用
  9. Centos7.4安装elasticsearch6.3+kibana6.3集群
  10. PAT_A1055#The World&#39;s Richest