(本文仅供自己笔记查看用)新建database并导入数据:mysql> CREATE DATABASE IF NOT EXISTS site_facelook CHARSET utf8 COLLATE utf8_general_ci;mysql> use site_facelook;mysql> s...
分类:
数据库 时间:
2014-09-01 12:04:32
阅读次数:
190
常用文件后缀与打开方式扩展名文件类型 打开方式.aiff声音文件Windows media Player.!!! Netants 暂存文件Netants.arj 压缩文件ARJ.avi 电影文件 Windows media Player.basBasic 语言Bas...
分类:
其他好文 时间:
2014-08-31 13:08:11
阅读次数:
200
简单的快速幂取模题但要注意由于a可能很大,相乘会超范围,所以乘前要先模#include #include using namespace std;int quick(int a,int b,int m){ int ans=1; a%=m; while(b){ if(b&1){ ans=(ans...
分类:
其他好文 时间:
2014-08-30 21:38:29
阅读次数:
210
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4063DescriptionYou are playing a flying game.In the game, player controls an aircraft in a 2D-space.The...
分类:
其他好文 时间:
2014-08-30 19:04:59
阅读次数:
254
declare @name varchar(200)while(exists(select * from sysobjects where name like '表名前缀%'))beginselect @name=name from sysobjects where name like '表名前缀%...
分类:
数据库 时间:
2014-08-30 13:46:59
阅读次数:
221
Problem Description
Sudoku is a popular single player game. The objective is to fill a 9x9 matrix with digits so that each column, each row, and all 9 non-overlapping 3x3 sub-matrices contain all o...
分类:
其他好文 时间:
2014-08-30 11:18:09
阅读次数:
286
Problem DescriptionUnlike single maze, double maze requires a common sequence of commands to solve both mazes. See the figure below for a quick unders...
分类:
其他好文 时间:
2014-08-30 01:14:48
阅读次数:
329
做一个这样的游戏,输入你和好友的名字,看一下你们两个人的名字谁更厉害一些。这里利用了结构体,函数来做了这么一个小游戏。首先是定义了一个结构体 player 用来存放玩家的基本元素:下面就构造一个根据输入的姓名生成本名字下的各种主要参数的这样一个函数,生成各种参数之后在屏幕上显示出来:然后再构造一个A...
分类:
其他好文 时间:
2014-08-30 00:01:18
阅读次数:
442
The OleVariant type exists on both the Windows and Linux platforms. The main difference between Variant and OleVariant is that Variant can contain dat...
分类:
其他好文 时间:
2014-08-29 17:53:58
阅读次数:
201
有两个简单例子,以说明 “exists”和“in”的效率问题1)select * from T1 where exists(select 1 from T2 where T1.a=T2.a) ;T1数据量小而T2数据量非常大时,T1>T2 时,2) 的查询效率高。exists 用法:请注意 1)句中...
分类:
数据库 时间:
2014-08-29 17:51:38
阅读次数:
231