上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 27 下一页
摘要: 题目链接题解: 特判一下n==0的时候。#include using namespace std;int a[1000];int main(){ int top = 0; int n,r; scanf("%d",&n); scanf("%d",... 阅读全文
posted @ 2018-10-12 20:51 Mercury_Lc 阅读(289) 评论(0) 推荐(0)
摘要: #include using namespace std;typedef struct node{ int data2; int data1;//mu struct node *next;} ;int main(){ int n; str... 阅读全文
posted @ 2018-10-11 21:08 Mercury_Lc 阅读(204) 评论(0) 推荐(0)
摘要: #include using namespace std;typedef struct node{ int data; struct node *next, *last;} Node;int main(){ int n, m, a; scanf... 阅读全文
posted @ 2018-10-11 21:07 Mercury_Lc 阅读(116) 评论(0) 推荐(0)
摘要: #include using namespace std;typedef struct node{ int data; struct node *next, *last;} Node;int main(){ int n, m, a; scanf... 阅读全文
posted @ 2018-10-11 21:07 Mercury_Lc 阅读(92) 评论(0) 推荐(0)
摘要: #include using namespace std;typedef struct node{ int data; struct node *next, *last;} Node;int main(){ int n, m, a; scanf... 阅读全文
posted @ 2018-10-11 21:07 Mercury_Lc 阅读(175) 评论(0) 推荐(0)
摘要: #include using namespace std;typedef struct node{ int data; struct node* next;} Node;Node* Createlist(int n){ Node* head,*p; ... 阅读全文
posted @ 2018-10-11 21:06 Mercury_Lc 阅读(121) 评论(0) 推荐(0)
摘要: #include using namespace std;typedef struct node{ int data; struct node* next;} Node;Node* Createlist(int n){ Node* head,*p; ... 阅读全文
posted @ 2018-10-11 21:06 Mercury_Lc 阅读(151) 评论(0) 推荐(0)
摘要: #include using namespace std;struct node{ int data; struct node *next;};int main(){ int n; struct node *head,*tail,*p,*q,*... 阅读全文
posted @ 2018-10-11 21:06 Mercury_Lc 阅读(105) 评论(0) 推荐(0)
摘要: #include using namespace std;struct node{ int data; struct node *next;};int main(){ int n; struct node *head,*tail,*p,*q,*... 阅读全文
posted @ 2018-10-11 21:06 Mercury_Lc 阅读(174) 评论(0) 推荐(0)
摘要: #include using namespace std;struct node{ int data; struct node *next;};struct node *crea(int n){ int i; struct node *head... 阅读全文
posted @ 2018-10-11 21:05 Mercury_Lc 阅读(132) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 27 下一页