# 抽號碼 ```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]<<" "; } ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up