会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
38
39
40
41
42
43
44
45
46
···
48
下一页
2016年1月5日
例题 3-5 生成元 digit generator
摘要: 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)
2016年1月4日
例题3-4 master-mind hints
摘要: 下面先附上我的水货代码,,,,一会附上,,,刘大婶给的代码///////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)
程序3-3 Palindromes
摘要: 刘大婶说这个比较难,哈哈,我感觉自己写的代码还是比较简单的.#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)
2016年1月3日
3-2 -------WERTYU------题挺水的
摘要: //题目的意思就是-----键盘上面你输入一个字符,就要输出该字符左边的字符.//空格和回车原样输出.#includeint main(){ char a[]={"`1234567890-=QWERTYUIOP[]ASDFGHJKL;'\ZXCVBNM,./"},b; int n,i; ...
阅读全文
posted @ 2016-01-03 20:07 X-POWER
阅读(330)
评论(0)
推荐(0)
-------Pokemon Master------很水-------
摘要: 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)
例题3-1
摘要: 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)
2015年12月30日
-----------------------------2015年 年度总结-----------------------------
摘要: ss
阅读全文
posted @ 2015-12-30 22:53 X-POWER
阅读(106)
评论(0)
推荐(0)
2015年12月29日
------第二节-----------------第二讲----单链表的基本操作---------
摘要: //包括建立链表的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)
typedef struct和struct 的区别 用途
摘要: #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
下一页
公告