代码改变世界

今日的我要超越昨日的我,明日的我要胜过今日的我;以创作出更好的代码为目标,不断地超越自己。...

ZOJ 3829 Known Notation(模拟+YY)——The 2014 ACM-ICPC Asia Mudanjiang Regional Cont

传送门 Do you know reverse Polish notation (RPN)? It is a known notation in the area of mathematics and computer science. It is also known as postfix no...

2017-07-11 21:11:01

阅读数:530

评论数:0

51NOD 1432 独木舟(贪心+递归)

传送门 nn 个人,已知每个人体重。独木舟承重固定,每只独木舟最多坐两个人,可以坐一个人或者两个人。显然要求总重量不超过独木舟承重,假设每个人体重也不超过独木舟承重,问最少需要几只独木舟?Input 第一行包含两个正整数 n(0<n≤10000)和m(0<m≤2000000000)...

2017-04-23 18:51:39

阅读数:471

评论数:0

Gym - 101142F Folding(折半)

传送门As you can remember, Alex is fond of origami. She switched from squares to rectangles, and rectangles are much more difficult to master. Her main ...

2016-11-03 21:07:17

阅读数:649

评论数:0

HDU 5935 Car (贪心)——2016年中国大学生程序设计竞赛(杭州)

传送门 CarTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 228    Accepted Submission(s): 85Prob...

2016-10-30 17:59:19

阅读数:814

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭