在头文件climits(limits.h)以宏定义的方式定义了各种符号常量来表示各种整型类型表示数的范围,如int的最大最小值,long的最大最小值等。 符号常量 表示 CHAR_BIT char 的位数 CHAR_MAX char 的最大值 CHAR_MIN char 的最小值 SCHAR_MAX
分类:
其他好文 时间:
2016-03-03 19:30:32
阅读次数:
167
1. Going to the Zoo She goes to the zoo. She sees a lion. The lion roars. She sees an elephant. The elephant has a long trunk. She sees a turtle. The ...
分类:
其他好文 时间:
2016-03-03 13:08:27
阅读次数:
144
1 #include<cstdio> 2 #include<iostream> 3 #define M 600 4 int b1[M],b2[M][M],n,m,s,sum[M]; 5 long long f[10][M][M],ans; 6 using namespace std; 7 int m
分类:
其他好文 时间:
2016-03-03 00:06:01
阅读次数:
179
------------------------------------------------ 重点提示: 1、基本数据类型的区别:char、byte、short、int、long;float、double; 2、CTS是什么?String和string的区别; 3、枚举类型; 4、自增自减; 5
分类:
编程语言 时间:
2016-03-02 23:32:01
阅读次数:
245
Ps:WA了无限次...简直做到崩溃..高中学的知识都忘了....这道题就是跟2048差不多.. 从N个人里选M个人,有Cmn种选法,然后就是M的错排*Cnm 代码: #include "stdio.h" long long dp[20]; int main(){ int n,m,i,j,a; lo
分类:
其他好文 时间:
2016-03-02 14:50:38
阅读次数:
145
官方提供的用法如下: new CountDownTimer(30000, 1000) { public void onTick(long millisUntilFinished) { mTextField.setText("seconds remaining: " + millisUntilFini
分类:
移动开发 时间:
2016-03-02 12:52:26
阅读次数:
439
一:思考 1:如果插入的某个字段大于数据库定义的长度了,数据库会怎么处理? 1>如果数据库引擎是myisam,则数据库会截断后插入,不报错 2>如果数据库引擎是innodb,则数据库会报 Data too long for column 'isp' at row 3 并且如果是批量插入,则整个语句都
分类:
数据库 时间:
2016-03-02 12:48:09
阅读次数:
148
1.CONFIG_OF在一些驱动中经常看到#ifdef CONFIG_OF,这里的OF是Open Firmware。Open Firmware. This was invented long time ago when Apple was producing laptops based on PowerPC CPUs. Openfirmware provides a good descriptio...
分类:
系统相关 时间:
2016-03-02 11:12:59
阅读次数:
198
本文系转载:http://blog.csdn.net/emaste_r/article/details/8447192# int(x [,base ]) 将x转换为一个整数 long(x [,base ]) 将x转换为一个长整数 float(x ) 将x转换到一个浮点数 complex(real [
分类:
编程语言 时间:
2016-03-02 10:43:31
阅读次数:
181
1 #include<cstdio> 2 #include<iostream> 3 #include<cmath> 4 using namespace std; 5 int sum; 6 long long R; 7 bool pan(int a1,double a4) 8 { 9 int a2=f
分类:
其他好文 时间:
2016-03-02 00:18:29
阅读次数:
225