摘要: 阅读全文
posted @ 2019-03-17 16:58 小菜鸡的梦想 阅读(739) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;#include<malloc.h>#define Max 50typedef char ElemType;typedef struct{ ElemType a[Max]; int length;}A;void InitLi 阅读全文
posted @ 2019-03-17 13:24 小菜鸡的梦想 阅读(699) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;#include<malloc.h>#include<stdio.h>typedef int Elem;typedef struct AA{ Elem data; struct AA *next;}A;void Create 阅读全文
posted @ 2019-03-17 13:24 小菜鸡的梦想 阅读(439) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;int main(){ string a; int flag; cin>>a; for(int i=0;i<a.length();i++) { if(a[i]==a[a.length()-i-1]) { flag=1; } 阅读全文
posted @ 2019-03-17 13:23 小菜鸡的梦想 阅读(353) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;#include<malloc.h>typedef char Elem;typedef struct AA{ Elem data; struct AA *next;}A;void Create(A *&L){ L=(A *) 阅读全文
posted @ 2019-03-17 13:23 小菜鸡的梦想 阅读(878) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;int main(){ int n,j; cin>>n; j=n; void fact(int n); cout<<n<<"="; fact(j);}void fact(int n){ for(int i=2;i<=n;i+ 阅读全文
posted @ 2019-03-17 13:22 小菜鸡的梦想 阅读(643) 评论(0) 推荐(0)