转载于:http://www.itxuexiwang.com/a/liunxjishu/2016/0225/162.html?1456480908 摘要:GAMIT/GLOBK是一套安装于Unix/Linux操作系统高精度GPS数据处理分析软件,以Ubuntu12.04桌面版构建系统平台,在网络的支
分类:
系统相关 时间:
2016-02-26 18:58:28
阅读次数:
385
前言:高精度运算。是指參与运算的数(加数。减数,因子……)范围大大超出了标准数据类型(整型,实型)能表示的范围的运算。 模板:包含大数加减乘除。大数与int数的乘法,模板能够不断扩充。 代码: /* 所有亲測可用,可是不能用于负数的运算,仅仅能对正数进行大数运算 */ const int ten[4
分类:
其他好文 时间:
2016-02-19 10:22:00
阅读次数:
203
A + B Problem II 高精度模板题: 下面我写写需要注意的细节~~ 我的代码里面只在Biginter结构体中写了构造函数和输出函数tostring();构造时使用字符数组构造,可以输入时就输入到字符数组中,这样直接在生成大数对象时就初始化;若是中途想把int型转为Biginter可以使用
分类:
其他好文 时间:
2016-02-17 14:33:53
阅读次数:
201
数据类型:一:值类型:简单类型: 整型 有符号整型:sbyte,short,int,long 无符号整型:byte,ushort,uint,ulong Unicode字符型:char ieee浮点型:double,float, 高精度小数:decimal 布尔型:bool 两个值;true,fals
Description 给出两个正整数A和B,计算A-B的值。保证A和B的位数不超过500位。 Input 读入两个用空格隔开的正整数 Output 输出A-B的值 Sample Input 3 12 Sample Output -9 Hint 两个正整数的位数不超过500位 #include<io
分类:
其他好文 时间:
2016-02-16 09:55:06
阅读次数:
98
#include<iostream> #include<cstdio> #include<cstring>using namespace std;int main(){ char a1[100],b1[100]; int a[100],b[100],c[100],lena,lenb,lenc,i,j
分类:
其他好文 时间:
2016-02-15 12:16:23
阅读次数:
252
BZOJ 1002 高精度 + 递推 f[1] = 1; f[2] = 5; f[i] = f[i - 1] * 3 - f[i - 2] + 2; SPOJ 104 裸 + 不用Mod 1 #include <cstdio> 2 #include <cstring> 3 #include <cst
分类:
其他好文 时间:
2016-02-12 22:12:25
阅读次数:
323
Description Problems involving the computation of exact values of very large magnitude and precision are common. For example, the computation of the n
分类:
其他好文 时间:
2016-02-09 01:19:54
阅读次数:
194
把x1~xn当成是1~n, 答案是不会变的. 然后直接模拟就行了...... P.S 双倍经验... BZOJ1416 && BZOJ1498 ------------------------------------------------------------------------------
分类:
其他好文 时间:
2016-02-07 13:31:56
阅读次数:
219
Problem Description Given an integer N(0 ≤ N ≤ 10000), your task is to calculate N! Input One N in one line, process to the end of file. Output For ea
分类:
其他好文 时间:
2016-02-04 09:42:38
阅读次数:
182