首页 > 2015年03月30日 > 全部分享
数学之路-sas备忘(16)
data _null_;mydate ='17MAR13'd;put mydate YYMMDDP10.;put mydate YYMMDDN8.;put mydate YYMMDDC10.;put mydate YYMMDD10.;run;本博客所有内容是原创,如果转载请注明来源http://blog.csdn.net/myhaspl/...
分类:其他   时间:2015-03-30 13:21:10    收藏:0  评论:0  赞:0  阅读:189
mysql学习从0开始:表的创建
下面的例子是一个名为 "persons" 的表: Id LastName FirstName Address City 1 Adams John Oxford Street London 2 Bush George Fifth Avenue New York 3 ...
分类:数据库技术   时间:2015-03-30 13:21:01    收藏:0  评论:0  赞:0  阅读:201
[dp+组合数学] hihocoder 1075 开锁魔法III
题意: 中文题~ 思路: 首先需要处理的就是把所有的环找出来 环的意思就是这个环里面只要有一个盒子被打开了,其他盒子就都被打开了。 比如样例。就是有两个环(1,2,5) 和 (3,4)并记录环内盒子的总数。 这样就转换成了这样的一个问题了。 给n堆东西,每堆有ai个,问现在取k次,保证每堆至少取1个的方案数。 然后总的方案数是C[n][k]。概率一除就好了。 那么这个方案数怎么求...
分类:其他   时间:2015-03-30 13:20:53    收藏:0  评论:0  赞:0  阅读:227
acdream 1060 递推数 (矩阵快速幂+循环节)
链接:click here~~ 题意: 递推数 Problem Description 已知A(0) = 0 , A(1) = 1 , A(n) = 3 * A(n-1) + A(n-2) (n ≥ 2)    求 A(A(A(A(N)))) Mod (1e9 + 7) Input 第一行一个整数 T (T ≤ 10000) 代表数据组数 每组数据占一行,一个整数 n (1 ≤ n...
分类:其他   时间:2015-03-30 13:20:30    收藏:0  评论:0  赞:0  阅读:85
设计模式学习之适配器模式
学习完了创建型设计模式,接下来准备学习结构型设计模式。我的个人理解是,创建型设计模式是如何优雅的生成新的对象,而结构型设计模式是如何优雅的组织对象。针对不同的应用场景,组织对象的方式也可能不尽相同。换言之,先得有场景,才需要选择设计模式。这是理解结构型设计模式最重要的地方。曾经有人问我,这么多设计模式根本记不住,而且有些模式感觉差不多,容易混淆。诚然,死记硬背各种模式,很难灵活运用,千万不能拘泥于...
分类:其他   时间:2015-03-30 13:20:20    收藏:0  评论:0  赞:0  阅读:184
Unity3D - 图形性能优化:帧调试器
最新版Unity官方文档翻译,图形性能优化之帧调试器。...
分类:编程语言   时间:2015-03-30 13:20:10    收藏:0  评论:0  赞:0  阅读:330
【oracle】分区表:range分区,list分区,hash分区
--(3)oracle 10g支持的分区 --范围分区range --哈希分区hash --列表分区list --范围哈希复合分区range-hash --范围列表复合分区range-list...
分类:数据库技术   时间:2015-03-30 13:20:00    收藏:0  评论:0  赞:0  阅读:280
HDU 4291 A Short problem (2012成都网络赛,矩阵快速幂+循环节)
链接: click here~~ 题意: According to a research, VIM users tend to have shorter fingers, compared with Emacs users.   Hence they prefer problems short, too. Here is a short one:   Given n (1 18), Y...
分类:其他   时间:2015-03-30 13:19:50    收藏:0  评论:0  赞:0  阅读:197
HashMap源码阅读(1)- 初始值、数据结构、hash计算
最近有被问及HashMap的相关问题,不得不再阅读源码,刨根问底。 1)初始值 我们平常使用Map的时候,创建的时候都是Map map = new HashMap();那么HashMap的默认大小是多少呢?查看源码,发现这么一段: 1234567891011121314151617 /**  * The default initial capacity - MUST be a...
分类:其他   时间:2015-03-30 13:19:41    收藏:0  评论:0  赞:0  阅读:265
一个程序员对李开复自传的记忆----未完待续
我非常喜欢两句话:  the best people require least and give most. 我步入丛林,因为我希望生活得有意义,我希望活得深刻,并汲取生命中所有的精华。然后从中学习,以免让我在生命终结时,却发现自己从来没有活过. 他与人交往的谦和深深吸引了我,  把对方当作6年纪的小学生去交流,  这样你的思维更加清晰,  态度也会更加友善. 先记一些, 下次接着...
分类:其他   时间:2015-03-30 13:19:30    收藏:0  评论:0  赞:0  阅读:135
UVA 111 History Grading 【lcs】
Brief Description: 一个历史考试,有n个历史事件, 它们之间的年份是不同的,要学生把这些事件按照正确的顺序排列出来。有两种记分方式,采用的是第二种: 假设有历史事件1,2,3,4, 它们正确的时间顺序是1,2,3,4, 然后假设学生的答案是1,3,2,4, 那么按照相对顺序正确的数量,答对了三个(1,2,4或者1,3,4),也就是它与正确答案的最长公共子序列长度是3,便是答...
分类:其他   时间:2015-03-30 13:19:20    收藏:0  评论:0  赞:0  阅读:246
Path Sum
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. For example: Given the below binary tree and sum ...
分类:其他   时间:2015-03-30 13:19:10    收藏:0  评论:0  赞:0  阅读:230
【贪心专题】POJ 1328 G - Radar Installation (区间覆盖)
链接:click here~~ 题意: Description Assume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating in the sea side. And any...
分类:其他   时间:2015-03-30 13:18:41    收藏:0  评论:0  赞:0  阅读:136
【db2】体系结构概述
实例级别注册变量: db2set parameter =value –I instancename; 数据库管理器(实例)配置文件dbm cfg: db2 get dbm cfg db2 update dbm cfg using parameter...
分类:数据库技术   时间:2015-03-30 13:18:40    收藏:0  评论:0  赞:0  阅读:175
【转载】C++ 编译器的函数名修饰规则
转载自:http://mxdxm.iteye.com/blog/510486 C++ 编译器的函数名修饰规则  函数名字修饰(Decorated Name)方式      函数的名字修饰(Decorated Name)就是编译器在编译期间创建的一个字符串,用来指明函数的定义或原型。LINK程序或其他工具有时需要指定函数的名字修饰来定位函数的正确位置。多数情况下程序员并不需要知...
分类:编程语言   时间:2015-03-30 13:13:01    收藏:0  评论:0  赞:0  阅读:289
【db2】表空间的管理,创建,维护
create database mydb def_prefetch_sz 4 catalog tablespace managed by database using (fle ‘data1/1.dbf’ 10G, file ‘/data2/1.dbf’ 1G ) extentsize 8 prefetchsize 16 temporary tablespace managed by system using (‘/data/tmp1.dbf’,’/data/tmp2.dbf’) user tables...
分类:数据库技术   时间:2015-03-30 13:12:50    收藏:0  评论:0  赞:0  阅读:265
imageView..setBackgroundResource 没有效果
有的时候调用该方法,今天纠结了一会,  我查看了一下 xml 原来是因为 xml中设置的是 src 不是 backgroud!...
分类:其他   时间:2015-03-30 13:12:40    收藏:0  评论:0  赞:0  阅读:292
【oracle】字符集、国家字符集及NLS_LANG运行库
--NLS_LANG=_. --language指定了日期的显示方式,oracle消息使用的语言 --territory参数指定了货币和数字的格式 --characterset控制了字符集...
分类:数据库技术   时间:2015-03-30 13:12:30    收藏:0  评论:0  赞:0  阅读:182
Path Sum II
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For example: Given the below binary tree and sum = 22, 5 / \...
分类:其他   时间:2015-03-30 13:12:20    收藏:0  评论:0  赞:0  阅读:249
table insert
BCDETABLE1入力内容insert into TABLE1 values(項目1ITEM1CHARUT001'UT001',項目2ITEM2NUMBER22,項目3ITEM3VARCHAR1675186196'1675186196',="insert into "&B8&" valu...
分类:其他   时间:2015-03-30 13:11:30    收藏:0  评论:0  赞:0  阅读:154
2067条   上一页 1 ... 64 65 66 67 68 ... 104 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!