Chinaunix首页 | 论坛 | 博客
  • 博客访问: 286553
  • 博文数量: 134
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 118
  • 用 户 组: 普通用户
  • 注册时间: 2013-08-01 14:02
文章分类

全部博文(134)

文章存档

2015年(2)

2014年(4)

2013年(128)

发布时间:2013-12-01 17:40:26

......【阅读全文】

阅读(999) | 评论(0) | 转发(0)

发布时间:2013-10-22 19:36:22

//整形数组,有正数,有负数,有0,求连续子序列最大和;//int a[]={-5,0,9,8,7,6,5,45,-100,9,0,56,45};#include<stdio.h>int main(void){    int a[]={-5,0,9,8,7,6,5,45,-100,9,0,56,45};    int max=0;    int sum=0;    int i=0; &nbs.........【阅读全文】

阅读(1357) | 评论(0) | 转发(0)

发布时间:2013-10-22 19:35:39

//二叉树的一些操作#include<stdio.h>#include<stdlib.h>typedef struct link{    unsigned char item;    struct link *l,*r;}LINK;static LINK *mknode(unsigned char item)//生成结点{    LINK *p=malloc(sizeof *p);    p->item=item;&nb.........【阅读全文】

阅读(1173) | 评论(0) | 转发(0)

发布时间:2013-10-22 19:23:04

/*1.制作文件1.txt -- 10.txt1.txt  1 2 3 4 5 6 7 8 9 102.txt  11 12 13 14 15 16 17 18 19 20...10.txt 91 92 93 94 95 96 97 98 99 100sprintf(buf,"%d.txt",2);/*2.依次合并1.txt--10.txt 到 文件data.txt合并操作完成后,data.txt文件的内容1 2 3 4 5 6 7 8 9 10......91 92 93 94 95 96 97 98 .........【阅读全文】

阅读(2293) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册