
c
xx熊xq
菜鸡一枚
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
AVL Insertion(浙大pta)
6 -1 AVL Insertion(浙大pta)## 6 -1 AVL Insertion You are supposed to implement the Insert function, which inserts an integer Key into an AVL tree T. The resulting tree must be returned. Format of functi...原创 2019-03-03 20:18:14 · 2686 阅读 · 1 评论 -
计算火车运行时间(pta)
7-22 计算火车运行时间 本题要求根据火车的出发时间和达到时间,编写程序计算整个旅途所用的时间。 输入格式: 输入在一行中给出2个4位正整数,其间以空格分隔,分别表示火车的出发时间和到达时间。每个时间的格式为2位小时数(00-23)和2位分钟数(00-59),假设出发和到达在同一天内。 输出格式: 在一行输出该旅途所用的时间,格式为“hh:mm”,其中hh为2位小时数、mm为2位分钟数。 输入样...原创 2018-11-27 22:16:03 · 5242 阅读 · 0 评论