按图示方法,给出N个点,求一共同拥有多少种组成方式 DP打表 #include "stdio.h" #include "string.h" int mod=1000000007; __int64 dp[1010][1010],sum[1010]; int main() { int i,j,k,Cas ...
分类:
其他好文 时间:
2017-05-15 10:09:01
阅读次数:
146
定义为 def arg_max(input, dimension, name=None) 作用是取行或者列的最大值的位置。 input:类型为 float32, float64, int64, int32, uint8, uint16, int16, int8, complex64, complex ...
分类:
其他好文 时间:
2017-05-13 21:04:50
阅读次数:
264
SQL Server 2000 C# CodeSmith 数据类型 取值范围 数据类型 取值范围 空值代替值 数据类型 bigint -2^63 (-9,223,372,036,854,775,807) 至 2^63-1 (9,223,372,036,854,775,807) Int64 -9,22 ...
分类:
数据库 时间:
2017-05-05 19:22:26
阅读次数:
182
题意: 给i,求由仅以2,3,5,7为因子的数中第i个是多少。 分析: 打表。 代码: //poj 3307 //sep9 #include <iostream> using namespace std; typedef unsigned __int64 INT; const int maxL=66 ...
分类:
其他好文 时间:
2017-05-01 09:52:54
阅读次数:
164
1.一般用C语言节约空间,要用C++库函数或STL时才用C++; cout、cin和printf、scanf最好不要混用。 2.有时候int型不够用,可以用long long或__int64型(两个下划线__)。 值类型表示值介于 -2^63 ( -9,223,372,036,854,775,808 ...
分类:
其他好文 时间:
2017-04-26 21:27:59
阅读次数:
195
一、数据类型特别是int相关的类型在不同位数机器的平台下长度不同。C99标准并不规定具体数据类型的长度大小,只规定级别。作下比较:16位平台char 1个字节8位short 2个字节16位int 2个字节16位long 4个字节32位指针 2个字节32位平台char 1个字节8位short 2个字节 ...
分类:
其他好文 时间:
2017-04-25 21:33:09
阅读次数:
195
QT的基本数据类型(转) qint8:signed char 有符号8比特数据 qint16:signed short 16位数据类型 qint32:signed int. 32位有符号数据类型 qint64:long long int 或(__int64) 64位有符号数据类型,Windows中定 ...
分类:
其他好文 时间:
2017-04-25 20:00:36
阅读次数:
251
1 const mo=1000000007; 2 var dp:array[-1000..1000]of int64; 3 x,y,a,b:array[-2000..2000]of longint; 4 fac,exf:array[0..2000]of int64; 5 q,time:array[-... ...
分类:
Web程序 时间:
2017-04-24 10:13:07
阅读次数:
259
传送门 Description The little girl loves the problems on array queries very much. One day she came across a rather well-known problem: you've got an arra ...
分类:
其他好文 时间:
2017-04-22 20:43:41
阅读次数:
349
代码和运行结果一看就懂了。 union un { int m; float c; double p; long k; unsigned int q; long long g; __int64 o; }; enum em { a,b,c,d }; struct MyStruct { char a;// ...
分类:
编程语言 时间:
2017-04-20 16:06:19
阅读次数:
188