摘要: 1.queue队列容器 //queue容器介绍 #include<iostream> using namespace std; #include<string> #include<queue> class person { public: person(string name, int age) { 阅读全文
posted @ 2020-12-15 20:55 loliconsk 阅读(43) 评论(0) 推荐(0)
摘要: #include<iostream> #include<queue> #include<malloc.h> using namespace std; typedef struct node { int data; struct node* left; struct node* right; }Nod 阅读全文
posted @ 2020-12-15 20:13 loliconsk 阅读(54) 评论(0) 推荐(0)
摘要: #include<stdio.h> #include<stdlib.h> typedef struct node { int data; struct node* left; struct node* right; }Node; typedef struct tree { Node* root; } 阅读全文
posted @ 2020-12-15 18:01 loliconsk 阅读(173) 评论(0) 推荐(0)
摘要: #include<stdio.h> #include<stdlib.h> #include<string.h> int max(int a,int b) { if(a>b) return a; else return b; } int main(void) { int n,c,i,j; scanf( 阅读全文
posted @ 2020-12-15 13:17 loliconsk 阅读(60) 评论(0) 推荐(0)