---
# System prepended metadata

title: 抽號碼

---

# 抽號碼
```clike=
#include<bits/stdc++.h>
using namespace std;
int main()
{
    vector<int> v;
    for(int i=1;i<=10;i++)
    {
        v.push_back(i);
    }
        //srand ( unsigned (time(0) ) );
        random_shuffle(v.begin(),v.end());
        for(int i=0;i<=v.size()-1;i++)
        cout<<v[i]<<" ";

}
```
