#include<iostream>? #include<algorithm>? using namespace std;? void swap(int &a,int &b) { ? ? ? ? ?int tmp = a; ? ? ?a = b; ? ? ?b = tmp; }? void ssort(int x[],int y[],int len) { ? ...
分类:
其他好文 时间:
2014-10-20 17:40:06
阅读次数:
178
顺序表///<summary>///逆序输出///</summary>publicvoidReverse(){if(length<=1){return;}for(inti=0;i<length/2;i++){Ttmp=dataset[i];dataset[i]=dataset[length-i-1];dataset[length-i-1]=tmp;}}2.单链表///<summary>///逆序///</summary>pub..
分类:
其他好文 时间:
2014-10-20 17:31:01
阅读次数:
228
SQL SERVER临时表的使用drop table #Tmp--删除临时表#Tmpcreate table #Tmp --创建临时表#Tmp(IDint IDENTITY (1,1)not null, --创建列ID,并且每次新增一条记录就会加1WokNovarchar(50),primary k...
分类:
数据库 时间:
2014-10-20 13:25:11
阅读次数:
188
监控端工具ansible计划任务*/10****/dev/shm/history_log.sh构建脚本vim/dev/shm/history_log.sh#!/bin/bashfunctionhistory_log(){ localtime time=`date-d"-10min""+%F%H:%M"` tim=${time%[0-9]} remote_ab-htest-c"tail-300/tmp/all_history"|grep"$tim">>/tmp/All_hi..
分类:
系统相关 时间:
2014-10-20 02:18:43
阅读次数:
238
在iOS上的归档和在Mac上的归档有些不一样, 在Mac上的归档你可以把文件放在任意的一个文件夹里面, 但是在iOS上, 你所写的文件就只能放在三个文件夹里, 分别是Documents, Library, tmp三个文件, 这里需要注意一下, library和tmp文件会在软件升级, 系统升级或者系...
分类:
移动开发 时间:
2014-10-19 18:32:10
阅读次数:
189
#include using namespace std;int main(int argc, char** argv){ // 1 open fstream objTestFile("file_test/tmp_out_app.txt", ios::in); // 2...
分类:
编程语言 时间:
2014-10-18 18:16:22
阅读次数:
152
题目:用两个队列实现一个栈,并分析栈操作运行时间分析:栈的操作只能在表头进行;而队列的入队在表头进行,出队只能在栈尾进行;考虑将栈底元素变为栈顶元素,即进行倒置,就能在表头进行Pop操作;解答:(不考虑溢出)1、使用两个队列A与Tmp,Tmp队列作为中转;2、当进行Push操作时,在队列A中进行入队...
分类:
编程语言 时间:
2014-10-18 14:02:04
阅读次数:
198
一。下载:1.wget2.解压二。编译:1.参数:./configure\--prefix=/usr/local/mysql--with-unix-socket-path=/usr/local/mysql/tmp/mysql.sock--localstatedir=/usr/local/mysql/data--enable-assembler--enable-thread-safe-client--with-mysqld-user=mysql--with-b..
分类:
数据库 时间:
2014-10-18 11:20:43
阅读次数:
210
题意:格式化代码。每个单词对齐,至少隔开一个空格。思路:模拟。求出每个单词最大长度,然后按行输出。代码:#include #include #include char words[1200][190][90];int maxLen[190];char tmp[200];typedef char * ...
分类:
其他好文 时间:
2014-10-17 20:30:04
阅读次数:
219
string[] LJLBH_TMP = sJLBH.Split(','); List LDataDRWY_TMP=new List(); for (int i = 0; i < LJ...
分类:
其他好文 时间:
2014-10-17 20:19:09
阅读次数:
126