这两个方法都可用于统计容器中符合要求的元素的个数,直接上代码
调用count函数时,统计容器中等于4的元素的个数
调用count_if时,统计容器中大于3的元素的个数
wx63d78546a4969 ©著作权
这两个方法都可用于统计容器中符合要求的元素的个数,直接上代码
调用count函数时,统计容器中等于4的元素的个数
调用count_if时,统计容器中大于3的元素的个数
e <...
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M