码迷,mamicode.com
首页 >  
搜索关键字:oct    ( 3638个结果
【枚举】bzoj1643 [Usaco2007 Oct]Bessie's Secret Pasture 贝茜的秘密草坪
显然#includeusing namespace std;int n,ans;int sqr(int x){return x*x;}int main(){ scanf("%d",&n); for(int i=0;i*i<=n;++i) for(int j=0;j*j+i*i<=n;++j) ...
分类:其他好文   时间:2015-05-18 16:23:01    阅读次数:154
第一章 python入门
python的简单使用hy@hy:~/Documents/py$ pythonPython 2.7.8 (default, Oct 20 2014, 15:05:19)[GCC 4.9.1] on linux2Type "help", "copyright", "credits" or "licen...
分类:编程语言   时间:2015-05-12 20:32:23    阅读次数:151
微信公众号Unauthorized API function
调用api的返回结果如下:       200 OK         Connection: keep-alive         Date: Wed, 15 Oct 2014 09:00:17 GMT         Server: nginx/1.4.4         Content-Type: application/json; encoding=utf-8         C...
分类:微信   时间:2015-05-05 19:38:46    阅读次数:1455
BZOJ 1600 Usaco2008 Oct 建造栅栏
题目大意:给定一个长度为nn(n≤2500n\leq 2500)的木板,要求分成4部分拼成一个面积为正的四边形,求方案数 能拼成一个面积为正的四边形等价于任意一个木板的长度<n2<\frac n2 切割点有3个,前两个枚举,第三个O(1)计算即可 时间复杂度O(n2)O(n^2)#include #include #include #...
分类:其他好文   时间:2015-05-03 16:04:15    阅读次数:147
BZOJ 1603 Usaco2008 Oct 打谷机 DFS
题目大意:给定一棵树,每个点是一个齿轮,1号齿轮顺时针旋转,每条边有同向和反向两种连接方式,求n号齿轮的旋转方向 DFS一遍即可#include #include #include #include #define M 1010 using namespace std; struct abcd{ int t...
分类:其他好文   时间:2015-05-03 16:00:43    阅读次数:134
Octopus系列之各个页面调用示例2
判断登陆的调用#if(${islogin}) ${Oct_Welcome} or ${Oct_LogOut}#else ${Oct_Sign_In} or ${Oct_Register}#endView Code
分类:其他好文   时间:2015-05-01 12:01:40    阅读次数:143
【转载】Project on Learning Deep Belief Nets
Deep Belief Nets (DBN's) will be explained in the lecture on Oct 29. Instead of learning layers of features by backpropagating errors, they learn one ...
分类:Web程序   时间:2015-04-20 20:47:59    阅读次数:172
Nagios详解
1.nagios主配置文件:[root@localhost etc]# ll //安装目录下的/nagios/etc/total 88-rw-rw-r-- 1 nagios nagios 12031 Oct 1 2013 cgi.cfg-rw-r-...
分类:移动开发   时间:2015-04-20 18:25:56    阅读次数:124
10.0我认为可以学会英语的学习方法
转自:http://blog.sina.com.cn/s/blog_7b98db950102v5sq.html by gjf on Oct 1,2014 看中外双语字幕视频 三步走: 第一步:看中外双语字幕视频的英文部分,(练习看英文的速度与学习翻译和学习不认识的单词); 第二步:光看外语字幕视频,(学习翻译和偶尔不认识的单词) 第三步:看无字幕外语视频,(锻炼实战能力) ***...
分类:其他好文   时间:2015-04-18 16:11:11    阅读次数:145
3409: [Usaco2009 Oct]Barn Echoes 牛棚回声
3409: [Usaco2009 Oct]Barn Echoes 牛棚回声Time Limit:3 SecMemory Limit:128 MBSubmit:57Solved:47[Submit][Status][Discuss]Description奶牛们灰常享受在牛栏中哞叫,因为她们可以听到她们...
分类:其他好文   时间:2015-04-11 23:41:46    阅读次数:152
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!