码迷,mamicode.com
首页 >  
搜索关键字:stars    ( 386个结果
2016.6月
So i'll dream until i make it real and all i see is stars.it's not until you fall that you fly. When your derams come alive you're unstoppable. take a ...
分类:其他好文   时间:2017-06-26 11:26:57    阅读次数:131
C++11 std::chrono库详解
所谓的详解只不过是参考www.cplusplus.com的说明整理了一下,因为没发现别人有详细讲解。 chrono是一个time library, 源于boost,现在已经是C++标准。话说今年似乎又要出新标准了,好期待啊! 要使用chrono库,需要#include<chrono>,其所有实现均在 ...
分类:编程语言   时间:2017-06-22 21:51:59    阅读次数:445
【POJ 2482】 Stars in Your Window(线段树+离散化+扫描线)
【POJ 2482】 Stars in Your Window(线段树+离散化+扫描线) Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 11294 Accepted: 3091 Description Fleeting time ...
分类:Windows程序   时间:2017-06-18 20:53:08    阅读次数:206
POJ 2352 Stars(线段树)
题目地址:POJ 2352 今天的周赛被虐了。。TAT..线段树太渣了。。得好好补补了(尽管是从昨天才開始学的。。不能算补。。。) 这题还是非常easy的。。维护信息是每个横坐标的出现的次数。 代码例如以下: #include <iostream> #include <cstdio> #includ ...
分类:其他好文   时间:2017-06-14 19:23:38    阅读次数:144
hdu 5277 YJC counts stars
hdu 5277 YJC counts stars 题意: 给出一个平面图,n个点,m条边,直线边与直线边之间不相交,求最大团的数目。 限制: 1 <= n <= 1000 思路: 因为平面图,直线边与直线边之间不相交,所以最大团的大小最大为4,m<=3*n-6。 所以对于答案4,枚举两条边。 对于 ...
分类:其他好文   时间:2017-05-31 12:07:07    阅读次数:148
树状数组的进阶运用(Stars 数星星)
英文原题 Problem Description Astronomers often examine star maps where stars are represented by points on a plane and each star has Cartesian coordinates. ...
分类:编程语言   时间:2017-05-20 13:53:47    阅读次数:166
poj2482--Stars in Your Window(扫描线)
题目链接:点击打开链接 链接题目大意:给出n个星星的坐标,每一个星星有一个亮度。给出一个矩形的长和宽,问矩形能包含的星星的最大亮度和(不包含边框)。 如果每个星星都是矩形的最左下点。那么每个星星都能够得到一个矩形,(x,y)->(x,y,x+w,y+h)。这个矩形的两条高边的值也就是星星的亮度k和- ...
分类:Windows程序   时间:2017-05-13 12:33:55    阅读次数:241
poj 2352 Stars
Stars Description Astronomers often examine star maps where stars are represented by points on a plane and each star has Cartesian coordinates. Let th ...
分类:其他好文   时间:2017-05-11 18:37:12    阅读次数:282
[51nod 1208] Stars in Your Window(线段树,扫描线)
题目链接:https://www.51nod.com/onlineJudge/questionCode.html#!problemId=1208 题意:也是矩形框点问题,不过每个点有权值,希望权值最大。 直接把出入的event中的sign变成对应权值,更新到线段树上就行了。 ...
分类:Windows程序   时间:2017-05-09 15:50:30    阅读次数:468
GitHub上编程语言流行度分析
GitHub已然是全球最流行的开源项目托管平台,项目数量眼下已经达到了千万级别。Adereth在Counting Stars on GitHub一文提供了一个很有意思的思路,那就是籍GitHub用户通过星星标记感兴趣项目的数目。来观察GitHub中用户最流行的是什么编程语言。 老规矩,让我们用Pow ...
分类:编程语言   时间:2017-05-07 16:45:05    阅读次数:202
386条   上一页 1 ... 16 17 18 19 20 ... 39 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!