摘要: #include #include #define M 1000005 char s1[M],s2[M]; int a[M]; void ss(int m)//减运算 { int i=0,j; while(1) { if(s... 阅读全文
posted @ 2017-04-19 21:26 xushukui 阅读(151) 评论(0) 推荐(0) 编辑
摘要: #include #include //大数乘小数void mult(char c[],int m,char t[]) { char s[100]; int len=strlen(c); for(int i=0; i=10) ... 阅读全文
posted @ 2017-04-19 21:23 xushukui 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 描述 做了A+B Problem,A/B Problem不是什么问题了吧! 输入 每组测试样例一行,首先一个号码A,中间一个或多个空格,然后一个符号( / 或者 % ),然后又是空格,后面又是一个号码B,A可能会很长,B是一个int范围的数。 输出 输出结果。 样例输入 110 /... 阅读全文
posted @ 2017-04-19 21:08 xushukui 阅读(217) 评论(0) 推荐(0) 编辑
摘要: DescriptionProblems involving the computation of exact values of very large magnitude and precision are common. For example, the computation o... 阅读全文
posted @ 2017-04-19 21:06 xushukui 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 前m大的数 Time Limit: 1000 MS Memory Limit: 32768 KB 64-bit integer IO format: %I64... 阅读全文
posted @ 2017-04-19 20:57 xushukui 阅读(334) 评论(0) 推荐(0) 编辑