摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=2050 解题思路:1.递推递推,先分析下直线分割平面的情况,增加第n条直线的时候,跟之前的直线最多有n-1个交点,此时分出的部分多出了 (n-1)+1; 2.折线也是同理,f(1)=2,f(2)=7,先画好前面n- 阅读全文
摘要:
题目链接:http://poj.org/problem?id=1469 http://acm.hdu.edu.cn/showproblem.php?pid=1083 题意: 有n个学生p门课程, 每门课程有cnt个人可以选择 1.每个人最后都有单独对应不同于任何人的一门课程; 2.每门课都有人选; 阅读全文
摘要:
poj 2349 Arctic Network Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 16619 Accepted: 5294 Time Limit: 2000MS Description The Department 阅读全文
摘要:
poj-2528-Mayor's posters Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 57305 Accepted: 16575 Description The citizens of Bytetown, AB, co 阅读全文
摘要:
A Simple Problem with Integers Time Limit: 5000MS Memory Limit: 131072K Total Submissions: 94448 Accepted: 29421 Case Time Limit: 2000MS Description Y 阅读全文
摘要:
I Hate It Time Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 64834 Accepted Submission(s): 25168 Pr 阅读全文
摘要:
Just a Hook Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 27864 Accepted Submission(s): 13831 阅读全文
摘要:
HDU 1166 敌兵布阵 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 1166 Description C国的死对头A国这段时间正在进行军事演习,所以 阅读全文
摘要:
bailian 4118:开餐馆 查看 提交 统计 提示 提问 总时间限制: 1000ms 内存限制: 65536kB 描述 北大信息学院的同学小明毕业之后打算创业开餐馆.现在共有n 个地点可供选择。小明打算从中选择合适的位置开设一些餐馆。这 n 个地点排列在同一条直线上。我们用一个整数序列m1, 阅读全文
摘要:
Description New Year is coming in Line World! In this world, there are n cells numbered by integers from 1 to n, as a 1 × n board. People live in cell 阅读全文