#include #include #include using namespace std; int n,num[100],ans[100],temp,vis[100],cnt=0,flag=0; signed main(){ ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); cin>>n; for (int i=0;i>num[i]; mt19937 mt(chrono::steady_clock::now().time_since_epoch().count()); uniform_int_distribution dis(0,n-1); while (!flag && cnt<1000000){ flag=1; for (int i=0;i