#include<iostream>
#include<cstdio>
#include<algorithm>
#include<vector>
#include<ctime>
//1=D/*
//2=C/**
//3=B/***
//4=A/****
//5=S/*****
//6=R/******
//7=*******
//8=********
using namespace std;
int main()
{
int n,m,t;
vector<int> a({0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,2,2,3});
srand(time(0));
random_shuffle(a.begin(),a.end());
for(int x:a) n=x;
cout<<endl;//0=图纸,1=零件,2=蓝币,3=钥匙
if(n==0)
{
vector<int> b({1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,4,4,4,4,5,5,5,6});
srand(time(0));
random_shuffle(b.begin(),b.end());
for(int x:b) m=x;
cout<<endl;//图纸等级
if(m==1)
{
cout<<"图纸等级D: ";
vector<int> c({1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,14,14,14,14,14,15,15,15,15,15,16,16,16,16,16,17,17,17,17,17,18,18,18,18,18,19,19,19,19,19});
srand(time(0));
random_shuffle(c.begin(),c.end());
for(int x:c)
{
if(x==1)
{
cout<<"三棱";
break;
}
else if(x==2)
{
cout<<"宝马Z4";
break;
}
else if(x==3)
{
cout<<"日产240Z";
break;
}
else if(x==4)
{
cout<<"雪佛兰";
break;
}
else if(x==5)
{
cout<<"大众";
break;
}
else if(x==6)
{
cout<<"宝马3.0";
break;
}
else if(x==7)
{
cout<<"雪佛兰ZRI";
break;
}
else if(x==8)
{
cout<<"DS";
break;
}
else if(x==9)
{
cout<<"莲花G60";
break;
}
else if(x==10)
{
cout<<"日产RC";
break;
}
else if(x==11)
{
cout<<"英伟尼迪";
break;
}
else if(x==12)
{
cout<<"宝马i8";
break;
}
else if(x==13)
{
cout<<"兰博基尼(老)";
break;
}
else if(x==14)
{
cout<<"法拉利";
break;
}
else if(x==15)
{
cout<<"阿尔法.罗密欧8C";
break;
}
else if(x==16)
{
cout<<"004";
break;
}
else if(x==17)
{
cout<<"莲花Emira";
break;
}
else if(x==18)
{
cout<<"DAVINCI";
break;
}
else if(x==19)
{
cout<<"保时捷718";
break;
}
}
cout<<endl;//图纸编号
}
if(m==2)
{
cout<<"图纸等级C: ";
vector<int> c({1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,14,14,14,14,14,15,15,15,15,15,16,16,16,16,16,17,17,17,17,17,18,18,18,18,18,19,19,19,19,19,20,20,20,20,20,21,21,21,21,21,22,22,22,22,22,23,23,23,23,23,24,24,24,24,24,25,25,25,25,25,26,26,26,26,26,27,27,27,27,27,28,28,28,28,28});
srand(time(0));
random_shuffle(c.begin(),c.end());
for(int x:c)
{
if(x==1)
{
cout<<"莲花英伦";
break;
}
else if(x==2)
{
cout<<"道奇地狱猫";
break;
}
else if(x==3)
{
cout<<"道奇恶魔";
break;
}
else if(x==4)
{
cout<<"保时捷911";
break;
}
else if(x==5)
{
cout<<"奔驰";
break;
}
else if(x==6)
{
cout<<"保时捷cayman";
break;
}
else if(x==7)
{
cout<<"阿斯顿.马丁BD9";
break;
}
else if(x==8)
{
cout<<"宝马sports";
break;
}
else if(x==9)
{
cout<<"捷豹R";
break;
}
else if(x==10)
{
cout<<"野马GT";
break;
}
else if(x==11)
{
cout<<"捷豹XE";
break;
}
else if(x==12)
{
cout<<"保时捷帕拉梅拉";
break;
}
else if(x==13)
{
cout<<"宾利军舰";
break;
}
else if(x==14)
{
cout<<"克尔维特GT2";
break;
}
else if(x==15)
{
cout<<"奔驰GT3";
break;
}
else if(x==16)
{
cout<<"迈凯伦spider";
break;
}
else if(x==17)
{
cout<<"阿斯顿.马丁BD11";
break;
}
else if(x==18)
{
cout<<"大众DLR";
break;
}
else if(x==19)
{
cout<<"保时捷E";
break;
}
else if(x==20)
{
cout<<"本田思域";
break;
}
else if(x==21)
{
cout<<"玛莎拉蒂";
break;
}
else if(x==22)
{
cout<<"AF8";
break;
}
else if(x==23)
{
cout<<"奔驰AMG";
break;
}
else if(x==24)
{
cout<<"TS1";
break;
}
else if(x==25)
{
cout<<"AF10";
break;
}
else if(x==26)
{
cout<<"日产370Z";
break;
}
else if(x==27)
{
cout<<"S1";
break;
}
else if(x==28)
{
cout<<"雷诺Tre Zor";
break;
}
}
cout<<endl;//图纸编号
}
if(m==3)
{
cout<<"图纸等级B: ";
vector<int> c({1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,30,30,30,30,30,30,30,30,30,30,30,30,30,30,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,32,32,32,32,32,32,32,32,32,32,32,32,32,32,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,34,34,34,34,34,34,34,34,34,34,34,34,34,34,35,35,35,35,35,35,35,35,35,35,35,35,35,35,35,36,36,36,36,36,36,36,36,36,36,36,36,36,36,37,37,37,37,37,37,37,37,37,37,37,37,37,37,37,38,38,38,38,38,38,38,38,38,38,38,38,38,38,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,40,40,40,40,40,40,40,40,40,40,40,40,40,40,17,17,17,17,17,18,18,18,18,18,19,19,19,19,19,20,20,20,20,20,21,21,21,21,21,22,22,22,23,23,23,23,24,24,24,24,24,25,25,25,25,25,26,26,26,26,26,27,27,27,27,27,28,28,28,28,28});
srand(time(0));
random_shuffle(c.begin(),c.end());
for(int x:c)
{
if(x==1)
{
cout<<"兰博基尼蓝牛";
break;
}
else if(x==2)
{
cout<<"捷豹W70";
break;
}
else if(x==3)
{
cout<<"福特GT";
break;
}
else if(x==4)
{
cout<<"道奇蝮蛇";
break;
}
else if(x==5)
{
cout<<"凯迪拉克";
break;
}
else if(x==6)
{
cout<<"克尔维特";
break;
}
else if(x==7)
{
cout<<"道奇蝮蛇S";
break;
}
else if(x==8)
{
cout<<"法拉利488";
break;
}
else if(x==9)
{
cout<<"迈凯伦720S";
break;
}
else if(x==10)
{
cout<<"兰博基尼小牛";
break;
}
else if(x==11)
{
cout<<"迈凯伦750";
break;
}
else if(x==12)
{
cout<<"法拉利812";
break;
}
else if(x==13)
{
cout<<"保时捷911S";
break;
}
else if(x==14)
{
cout<<"法拉利GT2";
break;
}
else if(x==15)
{
cout<<"保时捷carry";
break;
}
else if(x==16)
{
cout<<"日产GTR";
break;
}
else if(x==17)
{
cout<<"大众假牛";
break;
}
else if(x==18)
{
cout<<"保时捷S";
break;
}
else if(x==19)
{
cout<<"SSC 003S";
break;
}
else if(x==20)
{
cout<<"布加迪EB110";
break;
}
else if(x==21)
{
cout<<"雷诺GT3";
break;
}
else if(x==22)
{
cout<<"兰博基尼SV";
break;
}
else if(x==23)
{
cout<<"阿波罗EVO";
break;
}
else if(x==24)
{
cout<<"兰博基尼六元素";
break;
}
else if(x==25)
{
cout<<"宝马M4";
break;
}
else if(x==26)
{
cout<<"迈凯伦600lt";
break;
}
else if(x==27)
{
cout<<"兰博基尼雷文顿";
break;
}
else if(x==28)
{
cout<<"阿斯顿.马丁BDS";
break;
}
else if(x==29)
{
cout<<"宾利欧陆";
break;
}
else if(x==30)
{
cout<<"福特MK2 GTS";
break;
}
else if(x==31)
{
cout<<"BT62";
break;
}
else if(x==32)
{
cout<<"阿斯顿.马丁one77";
break;
}
else if(x==33)
{
cout<<"讴歌GT3";
break;
}
else if(x==34)
{
cout<<"GTE";
break;
}
else if(x==35)
{
cout<<"保时捷GT1";
break;
}
else if(x==36)
{
cout<<"保时捷718 GT4";
break;
}
else if(x==37)
{
cout<<"法拉利罗马";
break;
}
else if(x==38)
{
cout<<"SARTHE";
break;
}
else if(x==39)
{
cout<<"Elva";
break;
}
else if(x==40)
{
cout<<"马自达FURAI";
break;
}
}
cout<<endl;//图纸编号
}
if(m==4)
{
cout<<"图纸等级A: ";
vector<int> c({1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28});
srand(time(0));
random_shuffle(c.begin(),c.end());
for(int x:c)
{
cout<<x<<" ";
break;
}
cout<<endl;//图纸编号
}
if(m==5)
{
cout<<"图纸等级S: ";
vector<int> c({1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4,5,5,5,5,5,6,6,6,6,6,7,7,7,7,7,8,8,8,8,8,9,9,9,9,9,10,10,10,10,10,11,11,11,11,11,12,12,12,12,12,13,13,13,13,13,14,14,14,14,14,15,15,15,15,15,16,16,16,16,16,17,17,17,17,17,18,18,18,18,18,19,19,19,19,19,20,20,20,20,20,21,21,21,21,21,22,22,22,22,22,23,23,23,23,23,24,24,24,24,24,25,25,25,25,25,26,26,26,26,26,27,27,27,27,27,28,28,28,28,28,29,29,29,29,29,30,30,30,30,30,31,31,31,31,31,32,32,32,32,32,33,33,33,33,33,34,34,34,34,34,35,35,35,35,35,36,36,36,36,36,37,37,37,37,37,38,38,38,38,38,39,39,39,39,39,40,40,40,40,40,41,41,41,41,41,42,42,42,42,42,43,43,43,43,43,44,44,44,44,44});
srand(time(0));
random_shuffle(c.begin(),c.end());
for(int x:c)
{
cout<<x<<" ";
break;
}
cout<<endl;//图纸数量
}
if(m==6)
{
cout<<"图纸等级R: ";
vector<int> c({1,1,1,2,2,2,3,3,3});
srand(time(0));
random_shuffle(c.begin(),c.end());
for(int x:c)
{
cout<<x<<" ";
break;
}
cout<<endl;//图纸编号
}
cout<<"图纸数量 ";
vector<int> c({1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,5,5,5,5,5,5,6,6,6,6,7,7,7,8});
srand(time(0));
random_shuffle(c.begin(),c.end());
for(int x:c)
{
cout<<x<<" ";
break;
}
cout<<endl;//图纸数量
}
if(n==1)
{
cout<<"零件等级: ";
vector<int> e({1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,3,3,3,3,4,4,4,5,5,6});
srand(time(0));
random_shuffle(e.begin(),e.end());
for(int x:e)
{
if(x==1)
{
cout<<"零件D";
break;
}
else if(x==2)
{
cout<<"零件C";
break;
}
else if(x==3)
{
cout<<"零件B";
break;
}
else if(x==4)
{
cout<<"零件A";
break;
}
else if(x==5)
{
cout<<"零件S";
break;
}
else if(x==6)
{
cout<<"零件R";
break;
}
}
cout<<endl;//零件等级
}
if(n==2)
{
cout<<"蓝币数量";
vector<int> e({5,5,5,5,5,5,5,5,5,5,5,5,10,10,10,10,10,10,10,50,50,50,50,50,100,100,100,100,200});
srand(time(0));
random_shuffle(e.begin(),e.end());
for(int x:e)
{
cout<<x<<" ";
break;
}
cout<<endl;//蓝币数量
}
if(n==3)
{
cout<<"钥匙: ";
vector<int> e({1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4,5,5,5,5,5,6,6,6,6,6,7,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11});
srand(time(0));
random_shuffle(e.begin(),e.end());
for(int x:e)
{
t=x;
if(t==1)
{
cout<<"保时捷718";
break;
}
else if(t==2)
{
cout<<"宾利军舰";
break;
}
else if(t==3)
{
cout<<"克尔维特GT2";
break;
}
else if(t==4)
{
cout<<"奔驰GT3";
break;
}
else if(t==5)
{
cout<<"大众DLR";
break;
}
else if(t==6)
{
cout<<"奔驰AMG";
break;
}
else if(t==7)
{
cout<<"雷诺tre zor";
break;
}
else if(t==8)
{
cout<<"凯迪拉克";
break;
}
else if(t==9)
{
cout<<"法拉利GT2";
break;
}
else if(t==10)
{
cout<<"雷诺GT3";
break;
}
else if(t==11)
{
cout<<"宝马M4";
break;
}
}
cout<<endl;//钥匙编号
}
return 0;
}//车包
更新跟不上手游