码迷,mamicode.com
首页 >  
搜索关键字:sticks    ( 387个结果
HDU1518:Square(DFS)
Square Font: Times New Roman | Verdana | Georgia Font Size: ← → Problem Description Given a set of sticks of various lengths, is it possible to join t ...
分类:其他好文   时间:2016-07-13 20:36:22    阅读次数:154
HDU 1518 Square
Problem Description Given a set of sticks of various lengths, is it possible to join them end-to-end to form a square? Input The first line of input c ...
分类:其他好文   时间:2016-07-11 16:42:16    阅读次数:149
2016-06-17
* In this program the size of raw fish sticks is measured* before they are coated with bread crumbs.* First, the fish sticks are segmented from the ba ...
分类:其他好文   时间:2016-06-17 22:20:52    阅读次数:318
1307 - Counting Triangles
1307 - Counting Triangles PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB You are given N sticks having distinct lengths; y ...
分类:其他好文   时间:2016-06-13 19:11:38    阅读次数:342
PKU1011 Sticks
Description George took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he wants to return sticks to ...
分类:其他好文   时间:2016-06-02 23:21:41    阅读次数:207
POJ 2653 Pick-up sticks(线段相交)
题意:给定n个木棍依次放下,要求最终判断没被覆盖的木棍是哪些。 思路:快速排斥以及跨立实验可以判断线段相交。 ...
分类:其他好文   时间:2016-06-02 11:27:31    阅读次数:148
Codeforces - Lengthening Sticks
分析: 可行 = 全部 - 不可行 全部情况的求法: 把棒子分成两部分(1:2)。 那么就是由乘法原理得 (l-i+1)*(i+1) 不可行情况:枚举最长边,然后计算与上面类似。 /* *********************************************** Author... ...
分类:其他好文   时间:2016-05-29 15:06:11    阅读次数:147
ACM--木头序列--贪心+递减子序列--HDOJ 1051--Wooden Sticks
HDOJ题目地址:传送门 Wooden Sticks Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 17453    Accepted Submission(s): 7121 Problem De...
分类:其他好文   时间:2016-05-29 12:27:00    阅读次数:212
hdu 1518 Square
Problem Description Given a set of sticks of various lengths, is it possible to join them end-to-end to form a square? Input The first line of input c ...
分类:其他好文   时间:2016-05-24 22:20:32    阅读次数:193
poj 2653 线段与线段相交
Pick-up sticks Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 11884 Accepted: 4499 Description Stan has n sticks of various length. He thr ...
分类:其他好文   时间:2016-05-19 23:16:53    阅读次数:227
387条   上一页 1 ... 14 15 16 17 18 ... 39 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!