哈哈哈哈哈
include<bits/stdc++.h>
using namespace std;
int main()
{
int n,a;
cout<<"抽奖程序:";
cout<<"请输入1-5中的任意整数:";
cin>>n;
srand(time(0));
a=rand()%5+1;
if(n==a) cout<<"中奖!"<<endl;
else cout<<"没中"<<endl;
cout<<"中奖号码:"<<a<<endl;
return 0;
}