摘要: 简单的贪心法,代码如下 1 #include <iostream> 2 #include<stdio.h> 3 double amount[1000]; 4 double price[1000]; 5 using namespace std; 6 int getMax(int n){ 7 int r 阅读全文
posted @ 2020-07-04 16:29 za_chen 阅读(406) 评论(0) 推荐(0) 编辑