HDU
来源:互联网 发布:热血海贼王数据库修改 编辑:程序博客网 时间:2024/06/18 15:06
FatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean.
The warehouse has N rooms. The i-th room contains J[i] pounds of JavaBeans and requires F[i] pounds of cat food. FatMouse does not have to trade for all the JavaBeans in the room, instead, he may get J[i]* a% pounds of JavaBeans if he pays F[i]* a% pounds of cat food. Here a is a real number. Now he is assigning this homework to you: tell him the maximum amount of JavaBeans he can obtain.
The warehouse has N rooms. The i-th room contains J[i] pounds of JavaBeans and requires F[i] pounds of cat food. FatMouse does not have to trade for all the JavaBeans in the room, instead, he may get J[i]* a% pounds of JavaBeans if he pays F[i]* a% pounds of cat food. Here a is a real number. Now he is assigning this homework to you: tell him the maximum amount of JavaBeans he can obtain.
5 37 24 35 220 325 1824 1515 10-1 -1
13.33331.500
阅读全文
0 0
- hdu
- hdu
- HDU
- hdu ()
- hdu
- hdu
- HDU
- HDU
- hdu
- hdu
- HDU
- Hdu
- hdu
- hdu-
- hdu
- hdu
- hdu
- HDU
- Spring学习(十二)-jdbcTemplate和NamedParameterJdbcTemple
- 观察者模式
- Ubuntu安装adb和fastboot
- nodejs24,25
- hdu_2243 _考研路茫茫――单词情结 (AC自动机+矩阵快速幂+...)
- HDU
- 给页面加loadding动画
- c# list使用方法
- 用py2exe打包出现error:no commands supplied 怎么解决?
- Freemarker的基本语法及入门基础
- 据说美剧《硅谷》是程序员成功人士的必看剧?
- Keras 初步
- 面向对象(oop)和继承
- Oracle模糊查询,foreach用法,树结构查询,group by简单总结