
大数
Melicent1
这个作者很懒,什么都没留下…
展开
-
大数加减乘除幂模版
大数加 void add(char a[],char b[]) { int i,j,k=0,up=0,x,y,z,t; i=strlen(a)-1,j=strlen(b)-1; while(i>=0||j>=0) { if(i if(j z=x+y+up; if(z>9) {原创 2013-05-30 10:57:36 · 795 阅读 · 0 评论 -
poj1503(大数相加)
http://poj.org/problem?id=1503 Integer Inquiry Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 24392 Accepted: 9480 Description One of the first users of BIT's new supercomputer原创 2013-05-30 10:57:34 · 546 阅读 · 0 评论