上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 48 下一页
摘要: 1 #include 2 #include 3 #define maxn 100005 4 int ans[maxn]; //类似于 比较大的数组还是开导外面比较好一点,防止报错. 5 int main() 6 { 7 int x,y,m,T,n; 8 mems... 阅读全文
posted @ 2016-01-05 11:36 X-POWER 阅读(279) 评论(0) 推荐(0)
摘要: 下面先附上我的水货代码,,,,一会附上,,,刘大婶给的代码///////3ms#include#includeint main(){ int A,B,W=0,t,n,m,i,j,q,a[1111],b[1111],c[1111]; while(scanf("%d",&t),t) {... 阅读全文
posted @ 2016-01-04 20:19 X-POWER 阅读(167) 评论(0) 推荐(0)
摘要: 刘大婶说这个比较难,哈哈,我感觉自己写的代码还是比较简单的.#include#include#includeint is_palindrome(char x[],int n);//用于判断是否回文 //如果回文的话,返回值为1,反之为0int is_mirrored(char x[],int n)... 阅读全文
posted @ 2016-01-04 13:56 X-POWER 阅读(213) 评论(0) 推荐(0)
摘要: //题目的意思就是-----键盘上面你输入一个字符,就要输出该字符左边的字符.//空格和回车原样输出.#includeint main(){ char a[]={"`1234567890-=QWERTYUIOP[]ASDFGHJKL;'\ZXCVBNM,./"},b; int n,i; ... 阅读全文
posted @ 2016-01-03 20:07 X-POWER 阅读(330) 评论(0) 推荐(0)
摘要: A - Pokemon MasterTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit StatusDescriptionCalem and Serena are pokemon maste... 阅读全文
posted @ 2016-01-03 16:12 X-POWER 阅读(1085) 评论(0) 推荐(0)
摘要: TEX QuotesTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 9698 Accepted: 5085DescriptionTEX is a typesetting language develope... 阅读全文
posted @ 2016-01-03 12:35 X-POWER 阅读(317) 评论(0) 推荐(0)
摘要: ss 阅读全文
posted @ 2015-12-30 22:53 X-POWER 阅读(106) 评论(0) 推荐(0)
摘要: //包括建立链表的creat(); 输出连标的print(), 删除链表中结点的delete();#include#include#define LEN sizeof(struct student)struct student{ long num; float score; str... 阅读全文
posted @ 2015-12-29 17:02 X-POWER 阅读(327) 评论(0) 推荐(0)
摘要: #include<stdio.h> typedef struct Student { int a; struct Student *next; }Pupil; int main() { Student ss; //这里会显示未定义, 所以Student只是在结构体里面做指针用的。 一般情况下 Stu 阅读全文
posted @ 2015-12-29 10:58 X-POWER 阅读(485) 评论(0) 推荐(0)
摘要: 下面说线性结构,线性结构是数据结构中最基础最简单的一种结构类型 其中典型的是线性表线性表:举一个列子 下面有一个一元多项式F(x)=a0+a1*x+a2*x+~~~~~~~+an*x;请你思考并给出,你所能想到的几种储存方式.1: 用一个数组将其系数储存起来,然后用for循环这样... 阅读全文
posted @ 2015-12-29 09:23 X-POWER 阅读(289) 评论(0) 推荐(0)
上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 48 下一页