高精度
文章平均质量分 51
caobo1212
这个作者很懒,什么都没留下…
展开
-
精度计算:(二) 大数乘小数
大数乘小数模板#include#include#includeusing namespace std;//c[]:被乘数,用字符串表示,位数不限//t[]:结果,用字符串表示//m:乘数,限定10以内 void Mult(char c[],char t[],int m){ int i,k,flag,add=0; char s[210]; in原创 2012-07-31 01:06:54 · 832 阅读 · 0 评论 -
hdu 1042 N!
Problem DescriptionGiven an integer N(0 ≤ N ≤ 10000), your task is to calculate N! InputOne N in one line, process to the end of file. OutputFor each N, output N! i原创 2012-07-31 00:00:29 · 2114 阅读 · 1 评论