原题地址:https://oj.leetcode.com/submissions/detail/5341904/题意:The set[1,2,3,…,n]contains a total ofn! unique permutations.By listing and labeling all of ...
分类:
编程语言 时间:
2014-06-15 21:33:16
阅读次数:
270
关于SQL,一边恐惧一边前行,战战兢兢,如履薄冰。1.那些Maggie教我的事 因为脚本老是倒不齐全,QA某次跟我要了三次脚本,于是乎求助公司DBA. 利用SQL server本身的查询,找出最近修改的存储过程。1 SELECT NAME,modify_date FROM sys.all_objec...
分类:
数据库 时间:
2014-06-15 21:05:43
阅读次数:
229
DescriptionIn modern society, each person has his own friends. Since all the people are very busy, they communicate with each other only by phone. You...
分类:
其他好文 时间:
2014-06-15 20:44:45
阅读次数:
162
select a.name,a.[type],b.[definition] from sys.all_objects a,sys.sql_modules b where a.is_ms_shipped=0 and a.object_id = b.object_id and a.[type] in (...
分类:
数据库 时间:
2014-06-15 20:39:31
阅读次数:
195
分为两类一 存在system表空间以$结尾的基本表dba_.. user_... all_...视图存在于内存x$...的虚表v$...动态性能视图数据字典时哪里来的,是我们建立数据库的时候运行脚本建立的。%oracle_home%\admin\catalog.sql;脚本中含有建立数据字典的语句。...
分类:
其他好文 时间:
2014-06-15 17:44:49
阅读次数:
196
能产生粒子效果的CAEmitterLayer下雪效果://// RootViewController.m// Cell//// Copyright (c) 2014年 Y.X. All rights reserved.//#import "RootViewController.h"@inter...
分类:
其他好文 时间:
2014-06-15 06:21:42
阅读次数:
309
// Rujia Liu // 题意:给出n个带权集合,每个集合包含1~9中的三个整数。找出其中三个集合,使得1~9恰好各出现一次,且权和最大 // 算法:暴力n^2枚举前两个集合,直接计算出第三个集合。用位运算让代码更简单,速度也更快 学习点: 1、全集ALL为(1#include#include...
分类:
其他好文 时间:
2014-06-15 06:17:35
阅读次数:
163
1、OPENCVGPU重新编译+自己的文件 注意点: 1、生成OPENCV.sln解决方案后,在ALL_build的属性中,添加相应目录: ALL_BUILD中的Debug和Release上的Microsoft.Cpp.Win32.user CUDA 路径: Include Directories:...
分类:
其他好文 时间:
2014-06-15 06:14:29
阅读次数:
225
http://docs.mongodb.org/manual/reference/command/renameCollection/db.source-namespace.renameCollection( "target" )比如把users 替换成 all_usersdb.users.renam...
分类:
其他好文 时间:
2014-06-14 23:49:28
阅读次数:
570
Question:Given a collection of intervals, merge all overlapping intervals.For example,Given[1,3],[2,6],[8,10],[15,18],return[1,6],[8,10],[15,18].-----...
分类:
其他好文 时间:
2014-06-14 22:59:14
阅读次数:
211