高精度
black-hole6
这个作者很懒,什么都没留下…
展开
-
高精度除法(到小数点后200位)
#include<cstdio>#include<cstring>#include<iostream>#include<algorithm>using namespace std;int main(){ int n,m; scanf("%d/%d",&n,&m); int cnt=0; printf("0..原创 2019-01-22 13:21:43 · 1232 阅读 · 0 评论 -
HDU - 5686-Problem B (递推+高精)
度熊面前有一个全是由1构成的字符串,被称为全1序列。你可以合并任意相邻的两个1,从而形成一个新的序列。对于给定的一个全1序列,请计算根据以上方法,可以构成多少种不同的序列。Input这里包括多组测试数据,每组测试数据包含一个正整数NN,代表全1序列的长度。 1≤N≤2001≤N≤200Output对于每组测试数据,输出一个整数,代表由题目中所给定的全1序列所能形成的新序列的数量。...原创 2019-02-17 21:38:23 · 287 阅读 · 0 评论 -
JAVA 大数 A+B问题
A + B Problem III have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B.InputThe first line of the input contains an integer T(1<=T<...原创 2019-04-11 16:53:10 · 370 阅读 · 0 评论 -
HDU - 5050 (大数二进制gcd)
It’s time to fight the local despots and redistribute the land. There is a rectangular piece of land granted from the government, whose length and width are both in binary form. As the mayor, you must...原创 2019-04-11 17:06:09 · 373 阅读 · 0 评论