码迷,mamicode.com
首页 >  
搜索关键字:高精    ( 1966个结果
高精度乘以高精度
1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N = 1e5; 4 char A[N],B[N]; 5 int a[N],b[N],c[N],na,nb; 6 void change(){ 7 for(int i=0; i< ...
分类:其他好文   时间:2020-03-11 01:32:29    阅读次数:74
高精度减法
1 #include<bits/stdc++.h> 2 3 using namespace std; 4 5 const int N = 1e5+5; 6 7 char a[N],b[N]; 8 9 struct bign{ 10 int d[N]; 11 int len; 12 bign(){ 1 ...
分类:其他好文   时间:2020-03-11 01:16:04    阅读次数:44
车载CAN总线网络数据访问及研究意义
汽车是我们生活中不可缺少的代步工具,搭载先进的ECU控制单元、高精传感器、高性能的执行器,并融合现代4G/5G通讯与定位网络技术的智能网联汽车已经走向了我们的生活之中。通过TBOX终端实现了车与车、车与互联网、车与智能交通、车与智慧小区、景区之间的信息传输,实现了车载网络的多融合生态。
分类:其他好文   时间:2020-03-11 00:56:54    阅读次数:73
高精度计算
高精度运算,是指参与运算的数(加数,减数,因子……)范围大大超出了标准数据类型(整型,实型)能表示的范围的运算。例如,求两个20000位的数的和。这时,就要用到高精度算法了。 1、高精度加法 #include<cstdio>#include<iostream>#include<cstring>usi ...
分类:其他好文   时间:2020-03-10 20:07:47    阅读次数:76
回文数(内含高精度加法,字符串是否为回文的判断)
#include<iostream> #include<string> using namespace std; const int Max = 550; int Compare(int a[], int b[]); void Plus(int a[], int b[], int n); void ...
分类:其他好文   时间:2020-03-09 18:21:30    阅读次数:73
高精度减法
#include<iostream> #include<string> using namespace std; const int Max = 20000; int Compare(int a[], int b[]); //比较大小 void Subtract(int a[], int b[]); ...
分类:其他好文   时间:2020-03-09 18:06:28    阅读次数:65
高精度除法
#include<iostream> #include<string> using namespace std; const int Max = 550; void Enlarge(int p[], int q[], int bits); //将数组p的数字串右移bits位 int Compare( ...
分类:其他好文   时间:2020-03-09 17:56:50    阅读次数:52
数楼梯(斐波那契数列+高精度)
逆序思维 当爬到第K级台阶时,上一步只有两种可能,一种是位于K-1,一种是位于K-2 参考https://www.luogu.com.cn/blog/user7117/solution-p1255 #include<iostream> #include<string> using namespace ...
分类:其他好文   时间:2020-03-09 17:56:00    阅读次数:67
NTP服务
一、什么是NTP NTP(network time protocol),网络时间协议是用来校准计算机时间同步化的一种协议。它可以使计算机对其服务器或者时钟源同步化,可以提供高精准度的时间校正(lan网标准差小于1ms,wan网标准差小于几十ms),且可以由加密确认的方式来防止恶意的协议攻击。端口为 ...
分类:其他好文   时间:2020-03-06 13:09:43    阅读次数:117
高精度 四位压缩
高精度 四位压缩 基本原理: 建立一个数组 每一位上存4位数字 运用一定的方法运算,以实现大整数的运算; 封装在了结构体内; 目前只有高精度+高精度、高精度*单精度、max(高精度,高精度); 代码: //高精度四位压缩 const int M=85,mod=10000; struct HP { i ...
分类:其他好文   时间:2020-03-06 01:05:22    阅读次数:85
1966条   上一页 1 ... 11 12 13 14 15 ... 197 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!