compromiseTime Limit:1000MSMemory Limit:65536KB64bit IO Format:%I64d & %I64uDescriptionIn a few months the European Currency Union will be...
分类:
其他好文 时间:
2015-08-13 13:45:55
阅读次数:
122
DescriptionIn a few months the European Currency Union will become a reality. However, to join the club, the Maastricht criteria must be fulfilled, an...
分类:
其他好文 时间:
2015-08-12 19:02:54
阅读次数:
110
昨天整理点东西的时候看到了几年前以前收集的一篇文章,今天也就写两个字。说的是爆表的时候出现[table]前缀,后来改用hex(),然后unhex()出现真正的表名代码如下:‘union+select+1+from+(select+count(*),concat(floor(rand(0)*2),0x3a,(select+table_name+from+information_s..
分类:
数据库 时间:
2015-08-12 14:55:06
阅读次数:
181
#include
struct a{
char x[6];
int y;
char z[6];
};
struct b{
int y;
char x[6];
char z[6];
};
union c{
char x[6];
int y;
char z[6];
};
int main()
{
printf("%d,%d,%d\n",sizeof(struct a),sizeof...
分类:
其他好文 时间:
2015-08-12 09:05:04
阅读次数:
81
三个基本原则
1.struct或者union或者class里,每个成员的对齐开始位必须是成员自己的大小的整数倍;
2.每个结构体的大小必须是结构体内最大成员的整数倍,(第二个补齐方式)
3.结构体a内的结构体b的开始位必须是b里的最大成员的整数倍。
例一:
typedef struct BB {
int id; //[0]....[3]
dou...
分类:
编程语言 时间:
2015-08-11 23:33:46
阅读次数:
177
cppIDE
使用mfc和codeblocks中的mingw编译器。执行system命令中的bat批处理脚本。
一级指针
指针,结构体struct,联合union,枚举enum
#include
#include
void changenum(int num) //函数的参数有副本机制 ,新建一个变量,容纳传递过来参数的值
{
num = 3;
printf("\nchang...
分类:
编程语言 时间:
2015-08-09 22:44:14
阅读次数:
181
在Oracle中提供了三种类型的集合操作: 并(UNION)、交(INTERSECT)、差(MINUS)
UNION:将多个查询的结果组合到一个查询结果之中,并去掉重复值
UNION ALL:将多个查询结果组合到一个查询结果中,但是包含重复值
INTERSECT:返回多个查询结果相同的部分
MINUS:返回两个查询结果的差集
首先,创建另一个表 emp10...
分类:
数据库 时间:
2015-08-09 12:38:11
阅读次数:
134
#include
#include
#include
#include"SeqString.h"
typedef char AtomType;
typedef enum{ATOM,LIST} ElemTag;//ATOM=0,表示原子,LIST=1,表示子表
typedef struct GLNode{
ElemTag tag; //标志位tag用于区分元素是原子还是子表
union{
...
分类:
其他好文 时间:
2015-08-08 18:18:27
阅读次数:
122
#include
#include
#include
#include"SeqString.h"
typedef char AtomType;
typedef enum{ATOM,LIST} ElemTag;//ATOM=0,表示原子,LIST=1,表示子表
typedef struct Node
{
ElemTag tag; /*标志位tag用于区分元素是原子还是子表*/
union...
分类:
其他好文 时间:
2015-08-08 18:18:16
阅读次数:
119
1.ANY关键字假设any内部的查询语句返回的结果个数是三个,如:result1,result2,result3,那么,select ...from ... where a > any(...);->select ...from ... where a > result1 ora > result2...
分类:
其他好文 时间:
2015-08-08 01:18:22
阅读次数:
154