摘要:
#include <iostream> #include <queue> using namespace std; int main (){ queue<int> a; queue<int> b; int m,n,q; cin>>m>>n>>q; for(int i=1;i<=m;i++){ a.p 阅读全文
摘要:
#include<iostream> #include<map> using namespace std; int main(){ map<int,int> a; int n,ans,mn; cin>>n; mn=1000; for(int i=1;i<=n;i++){ int x; cin>>x; 阅读全文
摘要:
阅读全文
摘要:
class wanghuali { private: int x; int a[1000]={0}; int m=5; public: void set(){ for(int i=0;i<5;i++){ std::cin>>x; a[x]++; } } void get(){ for(int i=0 阅读全文
摘要:
#include <iostream> //#include <> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ using namespace 阅读全文
摘要:
//#include <iostream> //#include <list> //using namespace std; //int main(){ // list<int> a = {1,2,3}; // list<int> b = {4,5,6}; // list<int>::iterato 阅读全文
摘要:
#include<iostream> #include<vector> using namespace std; struct student{ int id;//学号 string name;//名字 int age;//年龄 int grade;//班级 }s; void xitong(){ c 阅读全文
摘要:
#include <iostream> #include <windows.h> using namespace std; /*声明变量 */ HWND hand=NULL; //游戏窗口 DWORD pid=0;//游戏进程ID HANDLE hProcess=NULL;//进程对象 DWORD 阅读全文
摘要:
#include<iostream> using namespace std; //第一维长度为t void p1(int a[][5],int t){ cout<<"第a56爆大奖在线娱乐调用方式:"<<endl; for(int i=0;i<t;i++){ for(int j=0;j<5;j++){ cout< 阅读全文