随笔分类 -  ACM

c语言学习笔记
摘要:char ,short在进行计算的时候,会自动转成int型。 另外,sizeof()返回的是无符号数。 阅读全文

posted @ 2016-04-08 15:14 Alex0111 阅读(195) 评论(0) 推荐(0)

考研编程练习----Kruskal
摘要:#include <stdio.h> #include <stdlib.h> #define MAX 100 /* 定义边(x,y),权为w */ typedef struct { int x, y; int w; }edge; edge e[MAX]; /* rank[x]表示x的秩 */ int 阅读全文

posted @ 2015-07-06 15:35 Alex0111 阅读(275) 评论(0) 推荐(0)

导航