码迷,mamicode.com
首页 >  
搜索关键字:stars    ( 386个结果
poj 2352 Stars 树状数组
树状数组,果断1A啦,心情舒畅啊,哈哈先依照y轴从小到大排序,然后一次增加并统计每一个点得x坐标,这道题数据不严谨啊,在y轴同样得情况下,应该以x轴从大到小排序,可我都没排x轴就过了#include#include#include#includeusing namespace std;int Max...
分类:编程语言   时间:2015-05-06 14:41:31    阅读次数:146
Docker 使用方法总结之:镜像
查找 命令:docker search [OPTIONS] TERM 相关参数: Search the Docker Hub for images   --automated=false    Only show automated builds   --no-trunc=false     Don't truncate output   -s, --stars=0        On...
分类:其他好文   时间:2015-05-02 22:06:17    阅读次数:419
HDU2642 Stars【二维树状数组】
题目大意: 现在假设天空是一个二维平面(1000*1000)。坐标从(0,0)点开始。现在给出N条信息。 "B X Y",B为字符,x、y是整数,表示将坐标(x,y)的星星变亮。 "D XY",D为字符,x、y是整数,表示将坐标(x,y)的星星变暗。 "Q X1 X2 Y1 Y2",Q是字符,X1、X2、Y1、Y2是整数,表示问有多少颗星星在X1、X2、 Y1、Y2确定的矩形中。 思路: 建立一个二维的树状数组,单点更新,区间求值。其实和一维的差不多。只不过第i个元素变 为了第x行第y列的元素。更新和求值...
分类:编程语言   时间:2015-04-28 18:27:05    阅读次数:154
POJ 2352 Stars(树状数组)
Stars Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 35467   Accepted: 15390 Description Astronomers often examine star maps where stars are represented by ...
分类:编程语言   时间:2015-04-22 22:22:01    阅读次数:180
React Native v0.4 发布,用 React 编写移动应用
React Native v0.4 发布,自从 React Native 开源以来,包括超过 12.5k stars,1000 commits,500 issues,380 pull requests 和 100 贡献者,还有35 款插件和1 个 AppStore 应用!直击现场《HTML开发Mac...
分类:移动开发   时间:2015-04-18 16:07:03    阅读次数:180
poj 2482 Stars in Your Window 线段树扫描线
Stars in Your WindowTime Limit: 1 SecMemory Limit: 256 MB题目连接http://poj.org/problem?id=2482DescriptionFleeting time does not blur my memory of you. Ca...
分类:Windows程序   时间:2015-04-17 09:29:59    阅读次数:173
POJ 2352-Stars(线段树)
Stars Time Limit:1000MS     Memory Limit:65536KB     64bit IO Format:%I64d & %I64u Submit Status Practice POJ 2352 Appoint description:  System Crawler  (2015-04-14) Description ...
分类:其他好文   时间:2015-04-16 09:09:13    阅读次数:190
POJ 2352 star (树状数组)
Language: Default Stars Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 35318   Accepted: 15326 Description Astronomers often examine star maps where sta...
分类:编程语言   时间:2015-04-12 13:27:50    阅读次数:147
POJ 2352 Stars
// 树状数组#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define ...
分类:其他好文   时间:2015-04-04 22:25:43    阅读次数:186
hdu1541 Stars 树状数组水题
Problem Description Astronomers often examine star maps where stars are represented by points on a plane and each star has Cartesian coordinates. Let the level of a star be an amount of the stars that are not higher and not to the right of the given star. ...
分类:编程语言   时间:2015-03-29 16:36:56    阅读次数:149
386条   上一页 1 ... 30 31 32 33 34 ... 39 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!