c++中int最大值是2^31-1=2147483647,java一样。获取程序运行时间:int start = clock();/*要获取运行时间的程序段*/int end = clock();运行时间为(end - start)秒