关闭

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 notation since every operator in an expression follows...
阅读(398) 评论(0)

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

传送门 nn 个人,已知每个人体重。独木舟承重固定,每只独木舟最多坐两个人,可以坐一个人或者两个人。显然要求总重量不超过独木舟承重,假设每个人体重也不超过独木舟承重,问最少需要几只独木舟?Input 第一行包含两个正整数 n(0<n≤10000)和m(0<m≤2000000000)n (0\lt n\le 10000)和m (0\lt m\le 2000000000),表示人数和独木舟的承重。...
阅读(351) 评论(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 interest is to determine what is the minimum possibl...
阅读(500) 评论(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): 85Problem Description Ruins is driving a car to participat...
阅读(634) 评论(0)
    个人资料
    • 访问:467094次
    • 积分:10891
    • 等级:
    • 排名:第1623名
    • 原创:634篇
    • 转载:5篇
    • 译文:0篇
    • 评论:93条
    博客专栏