码迷,mamicode.com
首页 >  
搜索关键字:square    ( 2122个结果
poj 2002 Squares
题目连接http://poj.org/problem?id=2002SquaresDescriptionA square is a 4-sided polygon whose sides have equal length and adjacent sides form 90-degree angl...
分类:其他好文   时间:2015-09-01 19:53:23    阅读次数:166
[C++11 并发编程] 16 在期望中保存异常
如果在异步线程中发生了异常,等待期望的线程如何才能知道并且正确的处理异常呢? 假设有如下所示的一个求平方根的函数: double square_root(double x) { if(x<0) { throw std::out_of_range(“x<0”); } return sqrt(x); }...
分类:编程语言   时间:2015-08-31 23:41:36    阅读次数:249
HTML5列表、块和布局
一、列表 unorder order listol: type="1 A a I i" start="9" reserved ul: type="square disc circle" 方块 实心圆 圆 defined list item description …… …… 二、块...
分类:Web程序   时间:2015-08-30 00:37:11    阅读次数:214
山东省第六届ACM省赛 H---Square Number 【思考】
题目描述In mathematics, a square number is an integer that is the square of an integer. In other words, it is the product of some integer with itself. For...
分类:其他好文   时间:2015-08-29 18:44:44    阅读次数:147
USACO 1.2 Transformations
TransformationsA square pattern of size N x N (1 #include using namespace std;const int maxn=11;int N;char before1[maxn][maxn],after1[maxn][maxn];bool...
分类:其他好文   时间:2015-08-29 09:42:10    阅读次数:157
js中数组迭代函数—(1)不生成新数组
不生成新数组的迭代器方法,它们要么对于数组中的每个元素执行某种操作, 要么返回一个值。  1、forEach(), 该方法接受一个函数作为参数, 对数组中的每个元素使用该函数   script type="text/javascript"> function square(num) { document.write(num * num+"\t"); } functio...
分类:编程语言   时间:2015-08-29 06:22:23    阅读次数:225
poj 3254 Corn Fields(状态压缩dp)
Description Farmer John has purchased a lush new rectangular pasture composed of M by N (1 ≤ M ≤ 12; 1 ≤ N ≤ 12) square parcels. He wants to grow som....
分类:其他好文   时间:2015-08-28 23:08:15    阅读次数:225
poj 1979 Red and Black(dfs水题)
DescriptionThere is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a...
分类:其他好文   时间:2015-08-28 21:19:50    阅读次数:143
otto源码分析
otto这个开源项目是一个event bus模式的消息框架,用于程序各个模块之间的通信,此消息框架可以使得各个 模块之间减少耦合性。 此项目是支付公司square一个开源项目,项目托管于github https://github.com/squar...
分类:其他好文   时间:2015-08-28 13:40:04    阅读次数:227
poj 1020 Anniversary Cake(切正方形蛋糕+搜索)
Anniversary CakeNahid Khaleh decides to invite the kids of the "Shahr-e Ghashang" to her wedding anniversary. She wants to prepare a square-shaped cho...
分类:其他好文   时间:2015-08-28 11:04:21    阅读次数:163
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!