首页 > 其他
Codeforces GYM 100114 D. Selection 线段树维护DP
D. SelectionTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/gym/100114DescriptionWhen selecting files in an application dialog, Vasya n...
分类:其他   时间:2015-09-03 20:19:20    收藏:0  评论:0  赞:0  阅读:214
工厂方法模式
分类:其他   时间:2015-09-03 20:18:19    收藏:0  评论:0  赞:0  阅读:270
Codeforces GYM 100114 B. Island 水题
B. IslandTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/gym/100114DescriptionOn February 30th this year astronauts from the Internatio...
分类:其他   时间:2015-09-03 20:18:10    收藏:0  评论:0  赞:0  阅读:284
OC基础--构造方法 id类型
new方法实现原理: new做了三件事情 1.开辟存储空间 + alloc 方法 2.初始化所有的属性(成员变量) - init 方法 3.返回对象的地址 [Person new]; == [[Person alloc] init]; alloc: 1.开辟存储空间 2...
分类:其他   时间:2015-09-03 20:17:30    收藏:0  评论:0  赞:0  阅读:357
usaco Preface Numbering
题目算法不难,难的是读懂题意,意思是从1到N的数字转换成罗马数字,然后统计所有数字中的各种字母出现的次数对于每个数,用贪心的方法转换为罗马数字,然后统计就好了/*ID: modengd1PROG: prefaceLANG: C++*/#include #include #include #inclu...
分类:其他   时间:2015-09-03 20:17:10    收藏:0  评论:0  赞:0  阅读:248
plist文件操作
Cocos2d-x数据篇04:plist文件操作【前言】在Cocos2d-x中,plist文件 是非常常见的配置文件。它是特定格式的xml文件。例如:小图打包成大图的纹理图片、制作粒子特效、帧动画等,都用到了plist文件作为配置文件。本节要介绍的是:如何创建plist文件,以及读取plist文件中...
分类:其他   时间:2015-09-03 20:16:59    收藏:0  评论:0  赞:0  阅读:359
乘方快速幂 OR 乘法快速幂
关于快速幂这个算法,已经不想多说,很早也就会了这个算法,但是原来一直靠着模板云里雾里的,最近重新学习,发现忽视了一个重要的问题,就是若取模的数大于int型,即若为__int64的时候应该怎么办,这样就得用到乘法快速幂+乘方快速幂了。 快速幂一般是为了解决乘方取模问题的,显然思想就是二分,下面贴上快....
分类:其他   时间:2015-09-03 20:16:40    收藏:0  评论:0  赞:0  阅读:259
EPG文件数据清洗
批量文件检查? for?id?in?`seq?0?9` do ./check2.sh?epg_201506270$id.dat done for?id?in?`seq?10?23` do ./check2.sh?epg_20150627$id.dat done for?id?in?`seq?0??9` do ./filter.sh?epg...
分类:其他   时间:2015-09-03 19:14:50    收藏:0  评论:0  赞:0  阅读:293
Git操作记录
Git操作记录恩首先说明下这只是为了避免自己忘记Git操作的时候重新跑去看一遍教程写的,只是作为记录,要教程的跑去下面的三个链接处。暂时这些内容都够个人用了。以后玩服务器了我就再更相关的内容。昨晚部长在我电脑的Ubuntu系统上想将我的代码推上Github(来的本意是想为我整理后的django上线)...
分类:其他   时间:2015-09-03 19:12:59    收藏:0  评论:0  赞:0  阅读:358
Codeforces Gym 100114 A. Hanoi tower 找规律
A. Hanoi towerTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/gym/100114Descriptionyou the conditions of this task. There are 3 pivots:...
分类:其他   时间:2015-09-03 19:12:19    收藏:0  评论:0  赞:0  阅读:272
fis3简单教程
#进入工作目录初始化fis3目录(此步非必须,如果当前目录已有fis-conf.js文件,可以不用初始化)fis3 init#部署(为部署目录,如果想部署到当前output目录,可以把替换为./output,支持相对和绝对路径)fis3 release -d #查看server帮助fis3 serv...
分类:其他   时间:2015-09-03 19:12:09    收藏:0  评论:0  赞:0  阅读:1050
选择器
1.基本选择器id class 元素名 所有 集合$('#one') $('.mini') $('p') $('*') $('span,#two')2.层次选择器后代 子元素 下一个兄弟 下面所有兄弟$('div span') $('div>spa...
分类:其他   时间:2015-09-03 19:11:59    收藏:0  评论:0  赞:0  阅读:280
不用堆栈实现树的先序遍历
通常实现树的先序遍历时,我们都需要一个栈来记录位置信息,如果一颗二叉树当中本来就保存了指向父亲的节点,那么我们可以不用堆栈来实现先序遍历。#includeusing namespace std;class node{public: char value; node *parent,*le...
分类:其他   时间:2015-09-03 19:11:39    收藏:0  评论:0  赞:0  阅读:256
AutoCAD 中的系统变量与环境变量
AutoCAD 中的系统变量与环境变量
分类:其他   时间:2015-09-03 19:11:09    收藏:0  评论:0  赞:0  阅读:304
第三讲:post-processsing with vcs+ files
1,dump wave by system function $vcdpluson(level_number,module_instance,....|net_or_reg) $vcdplusoff(module_instance,...|net_or_reg)2.debug仿真时下面要考虑:1.....
分类:其他   时间:2015-09-03 19:10:39    收藏:0  评论:0  赞:0  阅读:312
AC自动机模板
struct ACauto{ int ch[maxn][26]; int sz; int f[maxn],last[maxn],val[maxn],cnt[maxn]; void init(){ sz=1; memset(ch[0],0,sizeo...
分类:其他   时间:2015-09-03 19:10:09    收藏:0  评论:0  赞:0  阅读:268
interface
继承"基类"跟继承"接口"都能实现某些相同的功能,但有些接口能够完成的功能是只用基类无法实现的 1.接口用于描述一组类的公共方法/公共属性. 它不实现任何的方法或属性,只是告诉继承它的类 《至少》要实现哪些功能,继承它的类可以增加自己的方法. 2.使用接口可以使继承它的类: 命名统一/规范,易于维护...
分类:其他   时间:2015-09-03 19:09:59    收藏:0  评论:0  赞:0  阅读:231
文章分享:简单数据结构学习:单向链表
文章分享:简单数据结构学习:单向链表:https://www.textarea.com/aprikyb/jiandan-shujujiegou-xuexi-danxiang-lianbiao-252/
分类:其他   时间:2015-09-03 19:09:49    收藏:0  评论:0  赞:0  阅读:229
第二讲:vcs debugging basics
要求: 1.describe three methods of debugging verilog code using vcs 2.invoke ucli debugger(不重要) 3.debug verilog design using ucli(不重要)debugging方式: 1....
分类:其他   时间:2015-09-03 19:09:19    收藏:0  评论:0  赞:0  阅读:253
[LeetCode] Invert Binary Tree
Invert a binary tree. 4 / \ 2 7 / \ / \1 3 6 9to 4 / \ 7 2 / \ / \9 6 3 1递归实现: 1 TreeNode* invertTree(TreeNo...
分类:其他   时间:2015-09-03 19:09:10    收藏:0  评论:0  赞:0  阅读:235
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!