GPATime Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:440664-bit integer IO format:%I64d Java class name:MainGPA(Gr...
分类:
其他好文 时间:
2014-11-27 00:13:15
阅读次数:
205
Propagating treeTime Limit: 2000msMemory Limit: 262144KBThis problem will be judged onCodeForces. Original ID:383C64-bit integer IO format:%I64d Java ...
分类:
其他好文 时间:
2014-11-26 23:56:20
阅读次数:
388
Panic log:[ 939.136378] c0 11060 (kworker/u8:5) binder: release 29969:29969 transaction 41327 out, still active[ 951.095433] c1 1026 (Binder_6) bind.....
分类:
其他好文 时间:
2014-11-26 15:45:08
阅读次数:
599
Memset中无穷大常量的设定技巧
如果问题中各数据的范围明确,那么无穷大的设定不是问题,在不明确的情况下,很多程序员都取0x7fffffff作为无穷大,因为这是32-bit int的最大值。如果这个无穷大只用于一般的比较(比如求最小值时min变量的初值),那么0x7fffffff确实是一个完美的选择,但是在更多的情况下,0x7fffffff并不是一个好的选择。
很多时候我们并不只是单纯拿无穷...
分类:
其他好文 时间:
2014-11-26 11:21:15
阅读次数:
158
alter table MonthEnd_Unit add MEU_IsImport bit null default(0) go EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否是导入的月结' , @lev.....
分类:
数据库 时间:
2014-11-26 10:57:58
阅读次数:
194
Gray CodeThe gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integer n representing the t...
分类:
其他好文 时间:
2014-11-25 22:47:02
阅读次数:
245
有点点小虐心。
#include
#include
#include
using namespace std;
const int ternarys[12] = { 0, 1, 3, 9, 27, 81, 243, 729, 2187, 6561, 19683, 59049 };
int DP[2][59049];
int bit_map[155][15];
int pre_li...
分类:
其他好文 时间:
2014-11-25 18:39:29
阅读次数:
177
权值的种类只有100种,对每种开个二维BIT,然后是经典操作。 1 #include 2 using namespace std; 3 int n,m,q,x1,y1,x2,y2,val,op,a[301][301]; 4 struct BIT_2D 5 { 6 int d[301][301...
分类:
编程语言 时间:
2014-11-25 18:09:31
阅读次数:
136
Description
One of the first users of BIT's new supercomputer was Chip Diller. He extended his exploration of powers of 3 to go from 0 to 333 and he explored taking various sums of those numbers....
分类:
其他好文 时间:
2014-11-25 14:39:38
阅读次数:
275
一种linux图片格式,可用ACDSEE批量转变。它是一种简单的图像格式,仅包含格式、图像宽高、bit数等信息和图像数据。
图像数据的保存格式可以用ASCII码,也可用二进制,下面列举ppm格式中比较简单的一种:24位彩色、二进制保存的图像。
文件头+rgb数据:
P6\n
width height\n
255\n
rgbrgb...
其中P6表示ppm的这种格式;\n...
分类:
其他好文 时间:
2014-11-25 12:46:51
阅读次数:
179