随笔分类 -  C语言题记

摘要:Description:If you have any doubt on this assignment, please send an email to its author 赵丹. -->DescriptionIn this exercise, you will get two ... 阅读全文
posted @ 2016-01-11 21:31 小预备 阅读(275) 评论(0) 推荐(0)
摘要:Description:If you have any doubt on this assignment, please send an email to its author 贾亚晖. -->实在不知道出什么题目了,就还是二叉树吧,你们也别嫌烦。判断一棵二叉树是否对称。二叉树节点定... 阅读全文
posted @ 2016-01-11 20:59 小预备 阅读(226) 评论(0) 推荐(0)
摘要:Description:If you have any doubt on this assignment, please send an email to its author 王悦旻. -->Erin最近很喜欢玩射击游戏。她刚考完了C语言的期末考试,感觉很溜,于是又来到了射击娱乐场... 阅读全文
posted @ 2016-01-11 19:53 小预备 阅读(272) 评论(0) 推荐(0)
摘要:计算系数Description:If you have any doubt on this assignment, please send an email to its author 王毅峰. -->给出一个多项式(x+y)^K,询问x^n * y^m的系数输入两个数n, m。 ... 阅读全文
posted @ 2016-01-06 10:50 小预备 阅读(222) 评论(0) 推荐(0)
摘要:排序二叉树Description:If you have any doubt on this assignment, please send an email to its author 黎洋. -->题目大意:请完成下面四个函数的定义(在tree.h文件中),使整个程序能够利用排序... 阅读全文
posted @ 2016-01-06 10:45 小预备 阅读(650) 评论(0) 推荐(0)
摘要:simple structDescription:If you have any doubt on this assignment, please send an email to its author 张楚涵. -->Write a C program to addtwo frac... 阅读全文
posted @ 2015-12-30 10:39 小预备 阅读(271) 评论(0) 推荐(0)
摘要:Student ManagerDescription:If you have any doubt on this assignment, please send an email to its author 黎洋. -->题目内容:已知main.c文件代码,请完成StudentMan... 阅读全文
posted @ 2015-12-30 10:33 小预备 阅读(391) 评论(0) 推荐(1)
摘要:题目描述:Amtel has announced that it will release a 128-bit computer chip by 2010, a 256-bit computer by 2020, and so on, continuing its strategy of doubl... 阅读全文
posted @ 2015-12-16 10:37 小预备 阅读(281) 评论(1) 推荐(0)
摘要:题目名称eggs题目描述Erin买了不少鸡蛋,她发现一天吃不完这么多,于是决定把n个同样的鸡蛋放在m个同样的篮子里,允许有的篮子空着不放,请问共有多少种不同的放法呢?注意:2,1,1和1,2,1 是同一种分法。Input第一行是测试数据的数目t(0 2 int num = 0;//老师说最好不要用... 阅读全文
posted @ 2015-12-12 10:35 小预备 阅读(414) 评论(0) 推荐(1)
摘要:题目名称合并字符串题目描述合并两个字符串,每个字符串长度不小于1不超过50,主函数已经给出,在join.h头文件中完成join函数,函数原型如下:char* join(char* a, int alength, char* b, int blength)需要在join函数中动态申请内存,长度为a和b... 阅读全文
posted @ 2015-12-11 18:44 小预备 阅读(369) 评论(0) 推荐(0)
摘要:题目名称Pascal triangle题目描述By using two-dimensional array, write C program to display a table that represents a Pascal triangle of any size. In Pascal tri... 阅读全文
posted @ 2015-12-11 18:16 小预备 阅读(301) 评论(0) 推荐(2)
摘要:题目名称Ant题目描述一根长度为L厘米的木棒上有N只蚂蚁,每只蚂蚁要么向左走,要么向右走,速度为1厘米/秒。当两只蚂蚁相撞时,他们会同时掉头(掉头时间不计)给出每只蚂蚁距离木棒左端的距离,问多少秒后,刚好所有蚂蚁都从木棒上掉下来。N 和 L均不超过1000输入第一行两个整数,分别是N和L接下来N行,... 阅读全文
posted @ 2015-12-10 15:25 小预备 阅读(411) 评论(0) 推荐(0)
摘要:题目名称破解密文题目描述题目大意:Mo and Larry have devised a way of encrypting messages. They first decide secretly on the number of columns and write the message (le... 阅读全文
posted @ 2015-12-09 12:55 小预备 阅读(373) 评论(0) 推荐(0)
摘要:题目名称拯救大兵雷诺题目描述新晋的星灵大主教Artanis在目睹了挚友Zeratul的牺牲之后决心对抗黑暗之神Amon。为此,他首先要团结全星区所有种族的力量。坚定的盟友雷诺和他刚刚结束了Arcturus统治的Terran帝国正在遭受Amon控制的异虫的攻击,帮助他们即可在日后对抗Amon的时候获得... 阅读全文
posted @ 2015-12-09 00:19 小预备 阅读(370) 评论(0) 推荐(2)