摘要:
#include#include#include#includeusing namespace std;int a[100001]... 阅读全文
摘要:
题目大意:先给油箱容量,再给距离目的地距离和每升油能跑的公里数,给一条直线上的加油站的距离和每升费用,如果能跑到输出最少烧油的钱,... 阅读全文
摘要:
题意:给出数量算最大能卖多少钱 贪心就是一个每一步找最优解的思想 #include#include#include#include... 阅读全文