随笔分类 -  数据结构

摘要:解答一下为什么要用全长减去加油站的距离呢,因为,如果在某个加油站只加一次油就能到终点的话,势必就会加最少次数的油。 #include <iostream> #include<cstdlib> #include<cstdio> #include<stack> #include<algorithm> # 阅读全文
posted @ 2022-03-04 11:19 A1han 阅读(21) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示