- 博客(5)
- 收藏
- 关注
原创 数据结构(C语言版)课后习题2.1
typedef struct plant { char name[20]; int satellite_number; float distance_sun; }; plant earth,venus; 赋值过程略去
2015-04-21 09:52:25 1146
原创 数据结构(C语言版)课后习题1.4
非常简单,没什么好说的#include void ascending_sort(int x,int y,int z); int main(void) { int x,y,z; scanf("%d %d %d",&x,&y,&z); ascending_sort(x,y,z); return 0; } void ascending_sort(int x,int y,int z) {
2015-04-18 12:44:17 763
原创 数据结构(C语言版)课后习题1.3
题目: 《数据结构》(C语言版)(美)Ellis Horowitz Sartaj Sahni Susan Anderson-Freed著,李建中 张岩 李冶军 译 P9第3题 思想:迭代 #include void perm(int list[],int n,int i); int main(void) { int list[5]; perm
2015-04-18 12:33:31 1346
原创 数据结构(C语言版)课后习题1.2霍纳规则
题目: 《数据结构》(C语言版)(美)Ellis Horowitz Sartaj Sahni Susan Anderson-Freed著,李建中 张岩 李冶军 译 P9第2题 思想递归: #include void Horner(int list[],int k,int x,int i,int n); int main(void) { int li
2015-04-18 12:29:30 622
原创 得分(Sorce,ACM/ICPC Seoul 2005,Uva1585)
Q: There is an objective test result such as ``OOXXOXXOOO". An `O' means a correct answer of a problem and an `X' means a wrong answer. The score of each problem of this test is calculated by itself
2015-02-09 17:20:19 388
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人