码迷,mamicode.com
首页 >  
搜索关键字:supermarket    ( 83个结果
HDU3579Hello Kiki(中国剩余定理)(不互质的情况)
One day I was shopping in the supermarket. There was a cashier counting coins seriously when a little kid running and singing "门前大桥下游过一群鸭,快来快来 数一数,二四六 ...
分类:其他好文   时间:2017-12-17 11:06:01    阅读次数:229
CodeForces - 754D
All our characters have hobbies. The same is true for Fedor. He enjoys shopping in the neighboring supermarket. The goods in the supermarket have uniq ...
分类:其他好文   时间:2017-11-25 18:21:34    阅读次数:149
用eclipse写的超市管理系统
要实现的功能如下 package supermarket;import java.util.Scanner;import java.util.ArrayList;//貨物屬性類class Goods{ int id; String name; double price;}//main方法public ...
分类:系统相关   时间:2017-11-23 16:32:43    阅读次数:1205
supermarket SSM
1.数据库 2.整体空架构(jar包) 3.工程依赖 24节点 build节点 4.4个配置文件 1.配置web.xml节点 2.配置mybatis-config.xml 3.配置jdbc.properties 4.配置applicationContext.xml web.xml 1.context ...
分类:其他好文   时间:2017-11-17 22:31:34    阅读次数:184
POJ 1456 Supermarket(贪心+并查集)
题目链接:http://poj.org/problem?id=1456 题目大意:有n件商品,每件商品都有它的价值和截止售卖日期(超过这个日期就不能再卖了)。卖一件商品消耗一个单位时间,售卖顺序是可以改变的,求出最多可以卖多少钱。 解题思路:看了大牛的解释~。其实这道题是用贪心写的,这里并查集只是用 ...
分类:其他好文   时间:2017-10-12 23:00:32    阅读次数:238
POJ1456 Supermarket —— 贪心 + 路径压缩优化
题目链接:http://poj.org/problem?id=1456 Supermarket Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 13736 Accepted: 6206 Description A supermar ...
分类:其他好文   时间:2017-10-11 21:56:18    阅读次数:208
树形dp
1.codeforces 816 E. Karen and Supermarket 题意:有n件商品,每件有价格ci,优惠券di,对于i>=2,使用di的条件为:xi的优惠券需要被使用,问初始金钱为b时 最多能买多少件商品? n<=5000,ci,di,b<=1e9 思路: 根据限制连边 转化为背包 ...
分类:其他好文   时间:2017-09-03 18:38:52    阅读次数:125
Codeforces Round #390 (Div. 2) D
All our characters have hobbies. The same is true for Fedor. He enjoys shopping in the neighboring supermarket. The goods in the supermarket have uniq ...
分类:其他好文   时间:2017-07-24 09:55:02    阅读次数:152
poj 1456 supermarket
题目大意: 有很多物品要卖,每种物品都有自己的价值和截止日期,每个物品都必须在截止日期前卖出去,求最后获得的最大价值和是多少 思路: 优先队列 按照截止日期由大到小排序,从最大截止日期开始,一天天向前推直到1 如果某天是一个东西的截止日期,就把这件东西的价值加到优先队列里,每天都从优先队列里卖一个东 ...
分类:其他好文   时间:2017-07-22 18:18:38    阅读次数:156
英语----每日英语文章
In central Lusaka, Misozi Mkandawire presides over an empire of kiosks.I 1. In central Peking, Mr.Zhang presides over a mini-supermarket. She started ...
分类:其他好文   时间:2017-07-13 10:35:06    阅读次数:166
83条   上一页 1 ... 3 4 5 6 7 ... 9 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!