module.exports = function (grunt){ // laod all grunt tasks automatically require('load-grunt-tasks')(grunt); // time how long grunt task take, can hel...
分类:
其他好文 时间:
2015-10-31 22:53:27
阅读次数:
250
二.值类型和引用类型 2.1 值类型:所有的数值类型都是值类型(short int long float double ...),枚举,布尔类型,结构 2.2 引用类型:对象 ,字符串,object,数组 2.2.1 引用类型的值是储存在堆里面的,栈里面储存的只是它的引用地址. ...
1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 const int maxn = 2000010; 8 using LL = long long; 9 using PLI = ...
分类:
其他好文 时间:
2015-10-31 17:11:32
阅读次数:
263
思路:质因子累乘的值即为所求#include#include#include#include#include#includeusing namespace std;typedef long long LL;int prime(LL n);int main(){ LL n,ans,m; w...
分类:
其他好文 时间:
2015-10-31 17:07:49
阅读次数:
142
JAva变量类的外面不能有变量的声明 变量必须先声明,后赋值,然后才能使用基本数据类型 逻辑型:boolean(true,false) 文本型:char 整数型:btye,short,int,long 浮点型:float,double引用数据类型: 类,接口,数组Java各整数类型有固定的表数据范围...
分类:
移动开发 时间:
2015-10-31 17:04:02
阅读次数:
225
string和数值类型转换c++11提供了to_string方法,可以方便的将各种数值类型转换为 字符串类型: std::string to_string(int value); std::string to_string(long int value); std::string ...
分类:
编程语言 时间:
2015-10-31 15:44:54
阅读次数:
212
input1val时,a[i+1]*b[j]>val 1 #include 2 #include 3 #include 4 using namespace std; 5 typedef long long LL; 6 7 const int MAXN = 100010; 8 9 int...
分类:
编程语言 时间:
2015-10-31 11:24:12
阅读次数:
319
increment每次自增,适合所有数据库,但是不要使用在多线程,主键类型是数值型。identity每次自增,适用于支持identity的数据库(mysql,sqlserver),主键类型是数值类型。sequence每次自增,适用于long,short,int类型。nativenative生成器能根据底层数据库系统的类型,自动选择..
分类:
其他好文 时间:
2015-10-31 01:43:25
阅读次数:
301
线程休眠的方法是Thread.sleep(long millis) 和Thread.sleep(long millis, int nanos) ,均为静态方法,那调用sleep休眠的哪个线程呢?简单说,哪个线程调用sleep,就休眠哪个线程。废话先不多说,先上代码看看怎么休眠。public clas...
分类:
编程语言 时间:
2015-10-30 23:03:26
阅读次数:
268
D - Pick The SticksDescriptionThe story happened long long ago. One day, Cao Cao made a special order called "Chicken Rib" to his army. No one got his...
分类:
其他好文 时间:
2015-10-30 20:39:38
阅读次数:
385