题目链接:点击打开链接
#include
#include
typedef unsigned long long ll;
const int key = (int)(1e9) + 7;
const int N = 150010;
char b[N], a[N + N];
ll xp[N], h[N + N];
int len;
void get() {
char ch;
wh...
分类:
其他好文 时间:
2014-09-18 16:31:24
阅读次数:
170
unsigned int 0~4294967295int 2147483648~2147483647unsigned long 0~4294967295long 2147483648~2147483647long long的最大值:9223372036854775807long long的最小值:-...
分类:
其他好文 时间:
2014-09-18 16:15:34
阅读次数:
184
一篇文章:使用use index优化sql查询先看一下arena_match_index的表结构,大家注意表的索引结构CREATE TABLE `arena_match_index` ( `tid` int(10) unsigned NOT NULL DEFAULT '0', `mid` int(1...
分类:
数据库 时间:
2014-09-17 02:21:21
阅读次数:
298
char字符型变量或函数返回值short短整型变量int整型变量unsigned无符号long长整型变量float单精度浮点型double双精度浮点型struct结构体类型union共用体类型void函数无返回值,无参数,无类型指针enum枚举类型signed有符号const只读变量volatile...
分类:
编程语言 时间:
2014-09-16 20:29:10
阅读次数:
229
tee函数使用功能描述:tee函数在两个管道文件描述符之间复制数据,也是零拷贝操作.它不消耗数据,因此源文件描述符仍然可以用于后续的操作.函数原型:#include ssize_t tee(int fd_in,int fd_out,size_t len,unsigned int flags);函数....
分类:
其他好文 时间:
2014-09-16 18:49:41
阅读次数:
281
不退出: 1 #include 2 #include 3 4 5 unsigned __stdcall _threadfun(void* pParam) 6 { 7 while(TRUE) 8 { 9 printf("hello world");10 ...
分类:
编程语言 时间:
2014-09-16 13:59:50
阅读次数:
223
splice函数: 功能描述:用于在两个文件描述符之间移动数据,也是零拷贝操作。函数定义如下:1 #include 3 ssize_t splice(int fd_in,loff_t* off_t,int fd_out,loff_t* off_out,size_t len,unsigned i...
分类:
其他好文 时间:
2014-09-15 19:21:09
阅读次数:
218
---- 表的结构 `wx_province`--DROP TABLE IF EXISTS `wx_province`;CREATE TABLE IF NOT EXISTS `wx_province` ( `id` smallint(5) unsigned NOT NULL auto_increm....
分类:
数据库 时间:
2014-09-15 19:09:59
阅读次数:
876
在C语言中,double、long、unsigned、int、char类型数据所占字节数和机器字长及编译器有关系:
表格形式,易于开发者浏览...
分类:
编程语言 时间:
2014-09-15 16:04:29
阅读次数:
245
例1:已知某计算机机器字长16位,试指出下述C语句的执行结果。
int i=40000;
printf("%d",i);
分析:首先我们复习一下C++里面的数据类型:
数据类型符号
所对应的机器字长
int、unsigned int
整数字(有、无符号)
short、unsigned short
整数半字(有、无符号)
long、...
分类:
编程语言 时间:
2014-09-14 12:55:27
阅读次数:
251