随笔分类 -  大数

摘要:Problem Description In many applications very large integers numbers are required. Some of these applications are using keys for secure transm... 阅读全文
posted @ 2017-05-22 19:04 xushukui 阅读(156) 评论(0) 推荐(0) 编辑
摘要:You must have heard that the Chinese culture is quite different from that of Europe or Russia. So some Chinese habits seem quite unusual or ev... 阅读全文
posted @ 2017-04-20 18:23 xushukui 阅读(118) 评论(0) 推荐(0) 编辑
摘要:#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 阅读(160) 评论(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 阅读(241) 评论(0) 推荐(0) 编辑
摘要:描述 做了A+B Problem,A/B Problem不是什么问题了吧! 输入 每组测试样例一行,首先一个号码A,中间一个或多个空格,然后一个符号( / 或者 % ),然后又是空格,后面又是一个号码B,A可能会很长,B是一个int范围的数。 输出 输出结果。 样例输入 110 /... 阅读全文
posted @ 2017-04-19 21:08 xushukui 阅读(224) 评论(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 阅读(248) 评论(0) 推荐(0) 编辑
摘要://加法#include#include#include#include#include#include#include#include#include//STL数值算法头文件#include#include #include#include#include#include//模板类... 阅读全文
posted @ 2017-04-10 15:46 xushukui 阅读(134) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示