
大数
aisheng_huo
这个作者很懒,什么都没留下…
展开
-
计算N的阶乘
计算N的阶乘 #include using namespace std;int main(){ int a[1024] = {0}; int n = 0; while (scanf("%d",&n) == 1){ memset(a, 0, sizeof(a)); a[0] = 1;//代表从1开始乘 int k = 1000;原创 2017-07-21 16:00:48 · 577 阅读 · 0 评论 -
E - A == B ? HDU - 2054
E - A == B ? HDU - 2054 Give you two numbers A and B, if A is equal to B, you should print “YES”, or print “NO”. Input each test case contains two numbers A and B. Output for each case, if原创 2017-07-22 21:37:26 · 329 阅读 · 0 评论