码迷,mamicode.com
首页 >  
搜索关键字:temp    ( 7776个结果
temp表空间的作用
temp表空间主要用途是进行排序运算[如创建索引、order by及group by、distinct、union/intersect/minus/、sort-merge及join、analyze命令]、索引[如创建索引、IMP进行数据导入]、访问视图等操作时提供临时的运算空间,当运算完成之后系统会自动清理。...
分类:其他好文   时间:2015-04-13 14:41:00    阅读次数:124
python实现插入排序
#coding: UTF-8 def arrage(temp_list): num = len(temp_list) for i in range(1,num): for j in range(i): if temp_list[i] >= temp_list[j] and j == (i-1): bre...
分类:编程语言   时间:2015-04-13 11:06:18    阅读次数:143
rhel-server版安装vbox增强功能
配置本地源http://yebaoshan.blog.51cto.com/9954062/1631526插入插件iso,虚拟机菜单栏=》devices=》installguestaddtionscdp_w_picpath...挂载插件iso,mount/dev/cdrom/mnt/temp进入/mnt/temp安装VitruBox......sh如安装失败,可能需要先安装如下包yuminstallkernel-headers..
分类:其他好文   时间:2015-04-12 19:30:59    阅读次数:230
格式化数字字符串 与C#变量
格式说明符的语法对齐说明符 正数表示右对齐,负数表示左对齐。如果要表示的字符数比对齐说明符中指定的数少,会用空格填充;如果多了,就会被忽略掉。1 static void Main(string[] args)2 {3 var temp = 1...
分类:Windows程序   时间:2015-04-12 19:18:39    阅读次数:140
寻找发帖水王(找出数组出现超过一半的数字)
#include using namespace std; void find(int A[],int length) { int times=0; int i=0; int temp; for(;i { if(times==0) { temp=A[i]; times=1; } else { if(A[i]==temp) times++; else times...
分类:编程语言   时间:2015-04-12 17:48:53    阅读次数:125
字符串的相关操作
// demo3.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include using namespace std; int str_len(const char *str) { const char *temp=str; asser...
分类:其他好文   时间:2015-04-11 22:17:33    阅读次数:115
一维数组中的最大子数组(环状)
精简版,没有输出下标。在原基础上加上回溯和两个标记,还没进一步测试。#includeusing namespace std;void main(){ int i,j=0,k=0,n=5; int a[100]; int temp=0,sum=0; for(i=0;i>...
分类:编程语言   时间:2015-04-11 20:43:11    阅读次数:207
Maximum Subarray
/*最大连续子序列*/class Solution {public: int maxSubArray(int A[], int n) { if(!n) return 0; int result = A[0],temp =0 ; for(int i = ...
分类:其他好文   时间:2015-04-11 16:05:23    阅读次数:116
House Robber
/*题意:有一排房子,每个房子里有一些钱,每两个相连房子只能取一个,问取得的最大的钱数是多少? */class Solution {public: int rob(vector &num) { int len = num.size(),num1 = 0,num2 = 0,temp...
分类:其他好文   时间:2015-04-11 16:03:16    阅读次数:152
Factorial Trailing Zeroes
Solution1: 1 class Solution { 2 public: 3 int trailingZeroes(int n) { 4 long int temp = factorial(n); 5 int count = 0; 6 b...
分类:其他好文   时间:2015-04-10 20:03:48    阅读次数:133
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!