
ACM
Junruiqwertyuiop
我是一只小菜鸟
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Mixing Milk
Mixing Milk Since milk packaging is such a low margin business, it is important to keep the price of the raw product (milk) as low as possible. Help Merry Milk Makers get the milk they ne原创 2017-01-19 15:39:37 · 356 阅读 · 0 评论 -
对于数字位数的判断及回文数的判断+Prime Palindromes
一、判断数位: int judgenum(int x) { int c; c = 0; while(x>1) { x=x/10; c++; } return c; } 许多人使用log的算法,即(由于math.h不支持lg,所以要用log(a)/log(b)的用法)log(a)/log(10)的方法,但这样有两个问题, 1.造成较大误差原创 2017-01-19 22:05:34 · 535 阅读 · 0 评论 -
贪心A
A - 贪心ASubmitProblem DescriptionFriends are going to play console. They have two joysticks and only one charger for them. Initially first joystick is charged ata1 percent and second one is charged ata...原创 2017-08-02 08:56:58 · 238 阅读 · 0 评论 -
POJ 3624 Charm Bracelet
POJ3624:Charm BraceletDescriptionBessie has gone to the mall's jewelry store and spies a charm bracelet. Of course, she'd like to fill it with the best charms possible from theN (1 ≤ N ≤ 3,402) availa...原创 2016-11-25 22:20:27 · 636 阅读 · 0 评论 -
POJ1251 Jungle Roads
Jungle RoadsPOJ - 1251The Head Elder of the tropical island of Lagrishan has a problem. A burst of foreign aid money was spent on extra roads between villages some years ago. But the jungle overtakes...原创 2017-01-01 20:07:14 · 330 阅读 · 0 评论