码迷,mamicode.com
首页 >  
搜索关键字:number    ( 26994个结果
rank() over和row_number函数用法和区别
name class scoreselect name,class,score,rank() over (partition by class order by score desc) rank1,row_number over(partition by class order by score.....
分类:其他好文   时间:2015-07-15 16:32:23    阅读次数:122
kernel.sem信号量参数调优,以及ipcs信号量队列查询
首先介绍下kernel.sem 这个参数 cat?/proc/sys/kernel/sem 250?????32000???32??????128 或者 ipcs?-ls ------?Semaphore?Limits?-------- max?number?of?arrays?=?128 max?semaphore...
分类:其他好文   时间:2015-07-15 15:22:41    阅读次数:167
我的 C++ style
1 int g_tennis; // not use as possible 2 3 int make_world() { 4 int size = 0; 5 6 return size; 7 } 8 9 const int NUMBER = 100;10 11 enu...
分类:编程语言   时间:2015-07-15 15:01:15    阅读次数:146
Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2015-07-15 14:35:53    阅读次数:78
IOS UITableView 使用总结
定义自己的tablecell的方式总结,相关使用TableVIew的教程很多,下面说说我在使用过程中的一些经验,希望对大家有帮助 #import "ViewController.h" #import "TableViewCell.h" @interface ViewController () { BOOL type; int number; } @end @imple...
分类:移动开发   时间:2015-07-15 13:25:20    阅读次数:314
【LeetCode】Number of Islands
欢迎使用Markdown编辑器写博客问题描述Given a 2d grid map of ‘1’s (land) and ‘0’s (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands horizontally or verti...
分类:其他好文   时间:2015-07-15 13:18:42    阅读次数:105
[LeetCode][Java] N-Queens II
题目: Follow up for N-Queens problem. Now, instead outputting board configurations, return the total number of distinct solutions. 题意: 接上题N-Queens problem,这里只是要求返回所有的不同的解的数目。 算法分析: 思路与上题...
分类:编程语言   时间:2015-07-15 11:06:36    阅读次数:141
2015.7.14
1. JacaScript变量变量的定义var money;var title = " hello";2.JacaScript数据类型JacaScript数据类型分为:原始类型和引用类型;原始类型包括:underfined null boolean number string 3. typeof()...
分类:其他好文   时间:2015-07-15 06:32:11    阅读次数:108
codeforce 124B——全排列dfs——Permutations
You are givennk-digit integers. You have to rearrange the digits in the integers so that the difference between the largest and the smallest number wa...
分类:其他好文   时间:2015-07-15 01:17:15    阅读次数:244
Section 1.5 也许这才是暴力搜索
Number Triangles经典DP。自控老师曾经用了一节课讲这道题。。我以为我早就懂了,居然听不懂那一堆奇怪的公式。果然自控是天书。#include using namespace std;const int N = 1004;int f[N][N], dp[N][N];int main(){...
分类:其他好文   时间:2015-07-15 01:15:46    阅读次数:96
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!