2015年2月27日
摘要: #include#includeusing namespace std;int main(){ int A[10]; fill(A,A+10,0); for(int i=0 ; i0) { printf("%d",i); --A[i]; break; ... 阅读全文
posted @ 2015-02-27 20:59 Evence 阅读(140) 评论(0) 推荐(0) 编辑
摘要: #include#includeusing namespace std;struct cake{ double amount; double sum_price,price;}M[1010];bool cmp(cake a,cake b){ return a.price>b.price;}in... 阅读全文
posted @ 2015-02-27 19:47 Evence 阅读(675) 评论(0) 推荐(0) 编辑