自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

BWM Studio

The Blow Water Machines...

  • 博客(40)
  • 收藏
  • 关注

原创 实验7_3 by biggates

这段程序实现了端口的循环显示。由于无法调试,如果延时不正常,请修改红色的0FFH部分DATAS SEGMENT    ;此处输入数据段代码  DATAS ENDSSTACKS SEGMENT    STACK DB 256 DUP(?)STACKS ENDSCODES SEGMENT    ASSUME CS:CODES,DS:DATAS,SS:STACKSSTART:    MOV AX

2006-12-04 11:35:00 855

原创 循环程序设计-实验二 BY KTL

DATAS SEGMENT    FACTOR1 DB ?;此处输入数据段代码    FACTOR2 DB ?     RESULT DW ?    LNUM DB ?    MULSYB DB *    EQUSYB DB = DATAS ENDSSTACKS SEGMENT    ;此处输入堆栈段代码STACKS ENDSCODES SEGMENT    ASSUME CS:COD

2006-11-29 12:54:00 1137

原创 循环程序设计-实验一 BY KTL

DATAS SEGMENT    ASCII DB ?;此处输入数据段代码    LNUM DB ?      DISPLAY DB ?DATAS ENDSSTACKS SEGMENT    ;此处输入堆栈段代码STACKS ENDSCODES SEGMENT    ASSUME CS:CODES,DS:DATAS,SS:STACKSSTART:    MOV AX,DATAS    MOV 

2006-11-29 12:51:00 1121

原创 语法着色! ACMManager新功能?(posted by biggates)

今天从工作组传出一张可疑的图片,说是1.0.4 版的ACMManager已经内置了对C/C++的语法着色功能。笔者对此将信将疑,因为这个功能根本就没有在1.0.4的更新列表中出现。不过,在这里还是把图片贴出来好了

2006-08-08 23:44:00 922

原创 ACMManager 1.0.4 新功能(posted by biggates)

版本历史中的说明:Gxys ACMManager 1.0.42006年8月8日更新版本号到1.0.4加入了“生成BAT测试文件”和“运行BAT测试文件”在“输出”选项卡中的工具栏按钮2006年8月6日修正了题目状态无法改变的Bug重写了“删除节点”的代码加入了“删除节点”的快捷菜单和快捷键2006年8月5日重写了保存信息的代码,现在程序不再向注册表中存入任何信息了加入了三个用户自定义

2006-08-08 06:18:00 992

原创 我们为学校做的ACM网站(posted by KTL)

  

2006-08-06 23:08:00 1007

原创 ACMManager 1.0.3 版本历史(posted by biggates)

 今天搞到了ACMManager 最新的版本更新历史,不敢独享,放出来。看得出来作者还是蛮用心的啊……  Gxys ACMManager1.0.3尚未完成....2006年8月4日重写了分类的代码,“分类”功能现在似乎可以正确地使用了重写了网页浏览代码,现在点击远程动作的按钮的时候可以自动切换到“网页”标签了添加了“网页”的工具栏在SiteControl中添加了对可用站点的判

2006-08-04 23:05:00 870

原创 ACMManager 1.0.3版本最新报道(posted by biggates)

刚刚放出了几张1.0.3的截图,可以看出来基本上已经能够拿来用了,可惜作者还没有Beta测试计划(据说是只能在作者自己的机器上运行……)。 内置的浏览器方便的分类视图齐全的属性设置

2006-08-04 22:51:00 1067 1

原创 《向着夕阳,挥洒青春的泪水》系列正式开始连载! (posted by biggates)

《向着夕阳,挥洒青春的泪水》是著名程序员Spirit-only(也就是Spritsq)的最新力作,该小说从即日开始正式连载。连载地址:这里

2006-08-01 21:04:00 663

原创 新的BMW Stdio的Logo (posted by biggates)

 今天刚做的BWM Studio的新版Logo 原版为BMW公司

2006-07-31 23:10:00 1073

原创 ACMManager Beta 预览(posted by biggates)

这个就是最近两天我在做的一个程序,最终目标是要在做ACM题的时候实现完全取代HTML浏览器,实现浏览、提交、排名、判断正误等功能,有时间的话还想做代码折叠和语法着色……现在用了2200+行,做出来大概就是这个样子的                     不过,现在只能实现简单的文件管理,很多功能还都没有实

2006-07-27 17:21:00 664

原创 2898终于过了(posted by biggates)

 /**//*Problem E:Entertainment Time Limit:1000MS  Memory Limit:65536KTotal Submit:29 Accepted:4 biggates 2898 Accepted 1184K 968MS C++ 8.23K 2006-07-24 14:12:13.0 DescriptionACM-ICPC judges, somet

2006-07-24 22:22:00 963

原创 pku 1007 一次AC(posted by biggates)

半个小时, 一遍AC,真高兴啊下文为源代码,一些注释是在测试时方便观察和比较用的,大家酌情看吧/* DNA Sorting Time Limit:1000MS  Memory Limit:10000KTotal Submit:9694 Accepted:3892  DescriptionOne measure of ``unsortedness in a

2006-07-21 21:02:00 1005

原创 第十五题用拉链法实现散列表 POWERBY KTL

/*15.编写对一组关键字,利用链地址法解决冲突,散列函数为H(k),写出在此散列表中插入、删除元素的算法。程序输入 参考书本p269 其中除留余数p为6 拉链长度M为6 关键字长度N为6输入72 35 124 153 84 57接着要求输入需要查找的关键字,本程序打印出来的是key而不是other,所以只要输出等于输入的关键字程序就正确了。*/#include "stdio.h"#include

2006-06-12 17:41:00 1892

原创 第13题用线性探查法实现的散列表 POWERBY KTL

/*设有一组关键字(许炼2,35,124,153,84,57),需要插入到表长为12的散列表中。本程序把该题目编写为程序,输入72 35 124 153 84 57回车,输入查找的关键字,因为输出为key,而不是other,所以若输出与你输入的关键字相同则程序运行正确。*/#include "stdio.h"#include "stdlib.h"#define p 11#define M 12

2006-06-12 17:39:00 1822

原创 索引结构与散列技术 POWERBY CHenCHengNET

// hashtable.h: interface for the hashtable class.////////////////////////////////////////////////////////////////////////#if !defined(AFX_HASHTABLE_H__B98B72DB_0601_4B42_B259_59E8CBB1C59C__INCLUDED

2006-06-12 17:09:00 791

原创 第11章第15题定义代码(h) (Powered by biggates)

/// Chapter11.h: 第11章数据结构 typedef int keyType;                //以int类型作为散列值类型typedef char dataType;                //以char类型作为数据类型 const int HASH_TABLE_LENGTH = 20;//令表长为20 const int

2006-06-12 16:01:00 656

原创 第11章第15题完整代码(cpp) (Powered by biggates)

/// 11_15.cpp: 编写对一组关键字,利用链地址法解决冲突,/// 散列函数为H(k),写出在此散列表中插入、删除元素的算法 #include "stdafx.h"#include #include #include #include #include "Chapter11.h" void printDataType(const dataTyp

2006-06-12 15:57:00 712

原创 Prim算法生成最小树 Powerby KTL

#include "stdio.h"#define n 6typedef struct{ int fromvex,endvex; float length;}edge;edge T[n-1];float dist[n][n]={{100000,10,100000,100000,19,21},{10,100000,5,6,100000,11},{100000,5,100000,6,10000

2006-06-09 15:42:00 1433

原创 第十章第十六题 POWERBY KTL

//16.利用图的深度优先搜索和广度优先搜索各写一个算法,//辨别以邻接表方式表示的有向图中是否存在由顶点Vi到顶点Vj的路径(i!=j).//深度优先(第一个函数Route)//广度优先(第二个函数Route,需要去调注释同时把深度优先函数注释掉;//程序输入,参考书本P225页图10-6//输入顶点信息为1234(回车);//输入边数为4;//输入第一边:1 2//输入第二边:1 3//输入第

2006-06-09 01:32:00 760

原创 第10章第16题定义(h) (Powered by biggates)

/// Chapter10.h: 第十章的结构定义和函数声明 const int NUM_OF_VEX = 8;                //顶点数 //以下是邻接矩阵的定义typedef struct graphArray{    char vex[NUM_OF_VEX];                //顶点数组    int arcs[NUM_OF

2006-06-08 00:16:00 698

原创 第10章第16题完整代码(cpp) (Powered by biggates)

/// 10_16 利用图的深度优先搜索和广度优先搜索各写一个算法,/// 判别以邻接表方式表示的有向图中是否存在由顶点/// vi到顶点vj的路径(i!=j) #include "stdafx.h"#include #include #include #include #include "Chapter10.h" void initializeGr

2006-06-08 00:13:00 664

原创 第九章17题power by spirit_only

// 9_17_main.cpp : 二叉树的非递归先序遍历//#include "stdafx.h"#include #include //数据结构定义及全局常量定义int const MAXSIZE = 50;typedef char datatype;struct node {         datatype data;         stru

2006-06-02 15:42:00 604

原创 第就章第21题(赶出来的作业) POWERBY KTL

//第九章第21题,交换左右子树;//输入参考书本p194,图9-8,输入为ABCDEFG@@@@L@@@#;中序遍历结果应该为DBEALFCG;//交换左右子树后进行中序遍历的结果应为:GCFLAEBD;//可以用别的二叉树进行验证;若程序出错的话可能是没有设置好maxsize的值;#include "stdio.h"#include "stdlib.h"#include "conio.h"#d

2006-05-30 22:33:00 568

原创 第九章第14题(赶出来的作业) POWERBY KTL

//第九章第14题;//假设十个符号为ABCDEFGHIJ,权值为8,21,37,24,6,18,23,41,56,14;//输入权值:8回车;//输入数据:A(不用回车);//输入十个权值和数据后,输出为:A 11001 ;B 1011 ;C 101 ;D 100 ;E 01001 ;(E权值最小编码最长)//F 0011;G 000 ;H 111//I 10 ;(I权值最大,编码最短)J 00

2006-05-30 22:03:00 977 1

原创 第九章第十七题(赶出来的作业) powerby ktl

//第九章第17题;用非递归算法设计先序遍历二叉树;#include "stdio.h"#include "conio.h"#include "stdlib.h"#define N 15   //需要设置栈的最大值,若二叉树深度为四,则设置2^4-1=15;#define maxsize 15  //本程序根据书本p194,图9-8,输入数据为ABCDEFG@@@@L@@@#,输出为先序排列:AB

2006-05-30 21:49:00 649

原创 第8章第11题的完整程序(Powered by biggates)

由于篇幅比较长,请访问http://spaces.msn.com/biggates/blog/cns!715707C35A631274!279.entry

2006-05-26 17:39:00 691

原创 第八章十一题,修改了 ,用单链表实现str.(不好意思又看错条件了,这次没有错误了。)powerby KTL

#include "stdio.h"#include "stdlib.h"#include "string.h"typedef char datatype;typedef struct node{ datatype data; struct node * pNext;}linklist;void PUSHL(linklist **S,datatype e){ linklist *p; 

2006-05-26 17:32:00 510

原创 第八章十一题powerby spritsq

////8_11 判断字符串是否是对称的#include #include #include #include #define MAXSIZE 1024typedef char datatype;struct stack{ datatype elements[MAXSIZE]; int top;};struct node{ char data; struct node *next;}

2006-05-26 17:19:00 620

原创 第八章十六题修改后POWERBY KTL

#include "stdio.h"#include "stdlib.h"#include "string.h"#include "conio.h"#define M 10typedef char datatype;typedef struct{ datatype data[M]; int rear,quelen;}sequeue;void SETNULLQS(sequeue *sq){ sq

2006-05-26 16:31:00 555

原创 第8章第16题的完整程序(Powered by biggates)

/// 8_16.cpp : 假设以数组sequ[m]存放循环队列的元素,同时设变量/// rear 和quelen 分别指示循环队列中队尾元素的位置和内含元素的个数。/// 试给出判别此循环队列的队满条件,并写出相应的入队列和出队列的算法。/// 说明:本程序之所以不用typedef 把char定义成datatype,是因为:/// 在C语言中没有输入输出的重构函数,所以即使

2006-05-26 16:28:00 1090

原创 第八章十一题修改后(用栈实现)POWERBY KTL

#include "stdio.h"#include "stdlib.h"#include "string.h"typedef char datatype;typedef struct node{ datatype data; struct node * pNext;}linklist;void PUSHL(linklist **S,datatype e){ linklist *p; 

2006-05-26 15:41:00 602

原创 第六章21全部代码(powered by spirit_only)

    1 //    2 //6_21线性表逆置    3 //    4 #include     5 #include     6 typedef int datatype;                        //数据域中的数据类型    7 #define MAXSIZE 1024    8 #define LAST 50           

2006-04-23 22:36:00 673

原创 第六章22题全部代码(powered by spirit_only)

    1 //动态链表插值    2 #include     3 #include     4 #include     5 typedef int datatype;    6 typedef struct  node    7 {    8     datatype data;    9     struct node *next;   10 }li

2006-04-23 22:33:00 579

原创 第六章31题全部代码(powered by spirit_only)

    1 //    2 //6_31字符分类    3 //    4 #include     5 #include     6 typedef char datatype;    7 typedef struct node    8 {    9     datatype data;   10     struct node *next;   1

2006-04-23 22:29:00 644

原创 第八章十六题关键代码,输出的时候有些问题,主要看算法。

#include "stdio.h"#include "stdlib.h"#include "string.h"#include "conio.h"#define M 10typedef char datatype;typedef struct{ datatype data[M]; int front,rear,quelen;}sequeue;void SETNULLQS(sequeue *s

2006-04-20 21:27:00 592

原创 第8章十一题关键函数

#include "stdio.h"#include "stdlib.h"#include "string.h"typedef char datatype;typedef struct node{ datatype data; struct node * pNext;}linklist;typedef struct{ linklist *front,*rear;}linkqueue;

2006-04-20 21:25:00 664

原创 第七章26题关键代码

spmatrix *Chen(spmatrix *a,spmatrix *b){ int ano,bno,cno,col; spmatrix * c; c=InitSpmatrix(a->m,b->n,(a->m)*(b->n)); c->t=0; cno=0; for(col=0;coln;col++){  bno=0;  for(ano=0;anot;ano++){   if(a->data[

2006-04-09 23:05:00 670

原创 第七章20题关键代码

typedef struct linknode{ char data; struct linknode *pNext;}linkstring;void MyChange(linkstring * S,char c,char s){ while(S){  if(S->data==c)   S->data=s;  S=S->pNext; } return;}void display(linkstr

2006-04-09 23:03:00 609

原创 第七章第19题关键代码

typedef struct{ char str[MAX]; int len;}seqstring;void MyDelete(seqstring* s,int i,int j){ int k,h; if(i+j-1>s->len)  printf("OverFlow/n"); else {  for(k=0;k   for(h=0;hlen-(i+k+1);h++)    s->str[i+

2006-04-09 23:00:00 850 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除