大数
shengdai20
这个作者很懒,什么都没留下…
展开
-
大数阶乘
//nyoj28已A /*#include #define MAX 10001int a[MAX];int main(){ int n, num, m, i, x, y, index; char ch; scanf("%d", &n); while(n--) { scanf("%d%d", &num, &m原创 2014-10-23 15:55:01 · 309 阅读 · 0 评论 -
大数(高精度)加法
//NYOJ513 已通过#include #include #define MAX 10000int main(){ char a[MAX], b[MAX], c[MAX+1] = {0}, d[MAX+1] = {0}; int i, lena, lenb, len, flag, flaga, flagb, ia, ib, indexa, indexb,原创 2014-09-04 18:24:29 · 432 阅读 · 0 评论 -
nyoj103A+B Problem II
A+B Problem II时间限制:3000 ms | 内存限制:65535 KB难度:3描述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 positi原创 2014-11-27 19:01:10 · 410 阅读 · 0 评论