大数运算模拟
XYZHCS
这个作者很懒,什么都没留下…
展开
-
大数相减模拟
nyist-2384-无敌签到题#include#includeusing namespace std;int main(){ int x,y,z,i,j,m,up=0,k,q,len1,len2; char a[100],b[100],c[100],d[100]; while(~scanf("%s%s",a,b)) { k=0; len1=strlen(a)-1,le原创 2017-11-04 21:10:30 · 164 阅读 · 0 评论 -
大数相加
1199 - A+BProblemII时间限制:3秒 内存限制:128兆提交题目描述I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B.A,B must be positive.输入The f原创 2017-11-04 21:12:52 · 151 阅读 · 0 评论 -
HUD-1018-BIG Number(大数阶乘)
Big Number Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) ...原创 2018-02-20 10:51:26 · 314 阅读 · 1 评论 -
Hdu-1023 Train Problem II(卡特兰数、大数乘除模拟)
Train Problem IITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10546 Accepted Submission(s): 5637Problem Description As we all know the Trai...原创 2018-04-12 18:01:03 · 175 阅读 · 0 评论 -
第九届蓝桥杯(C/C++A组)
第三题标题:乘积尾零如下的10行数据,每行有10个整数,请你求出它们的乘积的末尾有多少个零?5650 4542 3554 473 946 4114 3871 9073 90 4329 2758 7949 6113 5659 5245 7432 3051 4434 6704 3594 9937 1173 6866 3397 4759 7557 3070 2287 1453 9899 1486 572...原创 2018-04-12 20:50:17 · 271 阅读 · 0 评论