码迷,mamicode.com
首页 >  
搜索关键字:sea    ( 3752个结果
推荐一些前端开发常用框架
1.动态加载js1).sea.jsSea.js 追求简单、自然的代码书写和组织方式,具有以下核心特性:简单友好的模块定义规范:Sea.js 遵循CMD规范,可以像Node.js一般书写模块代码。自然直观的代码组织方式:依赖的自动加载、配置的简洁清晰,可以让我们更多地享受编码的乐趣一般对于单页面的网站...
分类:其他好文   时间:2014-08-14 23:05:26    阅读次数:238
POJ 1856 Sea Battle
不错的一道搜索题...
分类:其他好文   时间:2014-08-13 10:37:25    阅读次数:221
POJ 1856 Sea Battle(dfs)
POJ 1856 Sea Battle(dfs)...
分类:其他好文   时间:2014-08-13 10:35:05    阅读次数:259
POJ 1856 Sea Battle(DFS)
题意 图中每个矩形'#'连通块代表一艘船 若一艘船与另一艘有边相邻或有角相邻 那么认为这两艘船相撞 若图中有船相撞 输出bad 否则输出图中有多少艘船 可以把图的周围全包上一圈'.' 遍历图中每个点 可知当图中存在一下四种结构中的一个时 必有船相撞 输出并退出循环 否则则dfs这个点 若图中不存在这些结构 就可以输出连通块数量即轮船数了...
分类:其他好文   时间:2014-08-13 01:17:55    阅读次数:289
POJ 1856 Sea Battle(BFS).
~~~~ 题意: 给你一个R*C的图,求其由图中连通‘#“所组成的矩形的个数。  注意:If the ships were placed correctly (i.e., there are only rectangles that do not touch each other even with a corner), print the sentence "There are S shi...
分类:其他好文   时间:2014-08-13 01:16:24    阅读次数:242
The Bags Are More Common Among Women Than Men
Roger Dean created the drawing "sea urchin chair" made ??of foam and bubbles head of the body shape creates a very comfortable place to rest. It consi...
分类:其他好文   时间:2014-08-12 13:19:44    阅读次数:267
HDU 4816 Bathysphere(数学)(2013 Asia Regional Changchun)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4816Problem DescriptionThe Bathysphere is a spherical deep-sea submersible which was unpowered and lowe...
分类:其他好文   时间:2014-08-09 00:08:31    阅读次数:684
HDU2451:Simple Addition Expression
Problem Description A luxury yacht with 100 passengers on board is sailing on the sea in the twilight. The yacht is ablaze with lights and there comes out laughers and singing from the hall where a...
分类:其他好文   时间:2014-08-05 11:09:49    阅读次数:240
poj3525Most Distant Point from the Sea(半平面交)
链接求凸多边形内一点距离边最远。做法:二分+半平面交判定。二分距离,每次让每条边向内推进d,用半平面交判定一下是否有核。本想自己写一个向内推进。。仔细一看发现自己的平面交模板上自带。。 1 #include 2 #include 3 #include 4 #include 5 #incl...
分类:其他好文   时间:2014-08-02 12:34:33    阅读次数:305
前端模块化开发的价值(seaJs)
随着互联网的飞速发展,前端开发越来越复杂。本文将从实际项目中遇到的问题出发,讲述模块化能解决哪些问题,以及如何使用 Sea.js 进行前端的模块化开发。恼人的命名冲突我们从一个简单的习惯出发。我做项目时,常常会将一些通用的、底层的功能抽象出来,独立成一个个函数,比如function each(arr...
分类:Web程序   时间:2014-07-31 20:25:47    阅读次数:355
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!