摘要:
清华OJ——数据结构与算法实验(中国石油大学) 无线广播(Broadcast) Description A broadcaster wants to set up a radio broadcast transmitter in an area. There are n towns in the a 阅读全文
摘要:
清华OJ——数据结构与算法实验(中国石油大学) 旅行商(TSP) Description Shrek is a postman working in the mountain, whose routine work is sending mail to n villages. Unfortunate 阅读全文
摘要:
清华OJ——数据结构与算法实验(中国石油大学) 真二叉树重构(Proper Rebuild) Description In general, given the preorder traversal sequence and postorder traversal sequence of a bin 阅读全文
摘要:
清华OJ——数据结构与算法实验(中国石油大学) 列车调度(Train) Description Figure 1 shows the structure of a station for train dispatching. Figure 1 In this station, A is the en 阅读全文
摘要:
灯塔(LightHouse) Description As shown in the following figure, If another lighthouse is in gray area, they can beacon each other. For example, in follow 阅读全文
摘要:
清华OJ——数据结构与算法实验(中国石油大学) 祖玛(Zuma) Description Let's play the game Zuma! There are a sequence of beads on a track at the right beginning. All the beads 阅读全文
摘要:
清华OJ——数据结构与算法实验(中国石油大学) 范围查询(Range) Descriptioin Let S be a set of n integral points on the x-axis. For each given interval [a, b], you are asked to c 阅读全文
摘要:
目录 一、知识点总结 第六章:指针、字符串、结构体、文件在游戏中的应用 二、代码实践 6.2字符雨 6.3互动粒子仿真 6.4飞机大战(升级版) 7.1可视化汉诺塔 7.2基于链表的祖玛游戏 一、知识点总结 第六章:指针、字符串、结构体、文件的应用 1 6.1指针 2 用指针在函数间传值可以避免过多 阅读全文