跳到正文

luo_siyi

1710180

是谁被英才部录取啦呀~好难猜呀

这是 2026年10月27日 存档的第 1 版,不是当前版本。查看当前版本

资料、奖项与版本

资料

编号
1710180
抓取

版本

  1. v2当前
  2. v1

edge://newtab
Microsoft Edge
二分
游戏
守望先锋
梦熊
三角形我的世界

悬疑《也平凡》
全排列函数 next_permutation(数组首地址,数组尾巴地址)
去重

C++
#include<bits/stdc++.h>
using namespace std;
int a[10]={1,1,1,2,2,3,3,3,4,4};
vector<int> v(a,a+10);
int main()
{
	sort(v.begin(),v.end());
    vector<int>::iteratorlast=unique(v.begin(),v.end());
	for(auto it=v.begin();it!=last;it++)
	{
		cout<<*it<<" ";
	}
	return 0;
}

https://www.douyin.com/jingxuan?modal_id=7689521837335727379