登录
首页 » 算法 » 本题的算法中涉及的三个函数: double bbp(int n,int k,int l) 其中n为十六进制位第n位,k取值范围为0到n+7,用来计算16nS...

本题的算法中涉及的三个函数: double bbp(int n,int k,int l) 其中n为十六进制位第n位,k取值范围为0到n+7,用来计算16nS...

于 2022-01-30 发布 文件大小:10.43 kB
0 194
下载积分: 2 下载次数: 1

代码说明:

本题的算法中涉及的三个函数: double bbp(int n,int k,int l) 其中n为十六进制位第n位,k取值范围为0到n+7,用来计算16nS1,16nS2,16nS3,16nS4小数部分的每一项。返回每一项的小数部分。 void pi(int m,int n,int p[]) 计算从n位开始的连续m位的十六进制数字。其中p为存储十六进制数字的数组。 void div(int p[]) void add(int a[],int b[]) 这两个函数都是为最后把十六进制数字转换为十进制数字服务的。 最后把1000个数字分别存储在整型数组r[]中,输出就是按顺序输出该数组。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 数值分析中的高斯消去解方程组问题,含输入输出界面。
    数值分析中的高斯消去法解方程组问题,含输入输出界面。-Numerical analysis of Gaussian elimination solution of the problem equations, including input and output interface.
    2022-07-04 00:10:45下载
    积分:1
  • 用java实现HDB3编解码和5B6B码
    用java实现HDB3的编译码和5B6B码-Using java to achieve HDB3 codec and the 5B6B code
    2022-07-05 04:32:40下载
    积分:1
  • 16:00 Fourier algorithm, using standard C language, and optimized computing spee...
    16: 00傅里叶算法,采用标准C语言,优化计算速度,比传统算法快得多
    2022-12-31 04:55:03下载
    积分:1
  • 一致性验证
    分布性一致性算法的Isabella验证 we introduce a novel Broadcast-Free Algorithm that solves Consensusproblem in the presence of a Weak-Fairness property and an unreliablefailure detector -property, in asynchronous distributed systems, and later itsformal veri cation. The Broadcast-Free Algorithm Model is de ned as a globaltransition system that is unambigously generated by local transition rules. At thesystem run, the algorithm model attempts involves two concepts : one to systemrun represents a in nite computation and one to asynchronous communicationbetween processes without Broadcast.
    2022-01-25 17:35:22下载
    积分:1
  • ras&md5
    rsa&md5 公钥和私钥就是从两个文件PublicKey.xml、PrivateKey.xml中读取出来,相当于是现实中的指定公钥和私钥;再验证时我为了方便直接验证的A计算出的HASH码,现实中应该是由B重新计算出文件M的HASH码-ras&md5
    2023-02-13 10:50:03下载
    积分:1
  • 扫雷(图遍历)
    背景 你玩儿过扫雷游戏吧?有个操作系统中带了这个小游戏,那个系统叫什么来着?;-)在游戏中要想过关,就必须要在一个 NxM 的区域上找出所有的地雷。游戏过程中,计算机会在地图上显示一些数字从而帮助你确定哪里有地雷。例如,在下面这个有两颗地雷的 4x4 的地图(*表示地雷): *... .... .*.. .... 根据上面的地图,可以计算出应该提供给游戏者的数字如下所示: *100 2210 1*10 1110 每个数字表示了该方格周围到底有几个地雷,当然,一个方格周围最多的时候只会有八个。 输入 输入中将包括一系列的地图,每个地图的第一行有两个整数 n 和 m(0
    2022-01-25 19:22:18下载
    积分:1
  • 二叉树后序遍历的非递归
    二叉树后序遍历的非递归算法-binary tree traversal sequence of non- recursive algorithm
    2022-12-04 17:15:02下载
    积分:1
  • 格式操作
    字符串格式,concat 字符串,长度的字符串,使用 vb 6.0,可以帮助程序员为计数,并知道字符串的长度
    2022-07-15 12:01:40下载
    积分:1
  • opcv实例源代码讲述各种实例提供各类源码
    opcv实例源代码讲述各种实例提供各类源码-opcv examples of source code, about various instances, provide various types of source code
    2022-03-26 17:29:17下载
    积分:1
  • 鼹鼠闯迷宫
    资源描述void creatWay(int (*mg)[N],int x, int y)//在迷宫中产生一条路,使用图的深度遍历思想来实现, { static int dir[4][2] = {0, 1, 1, 0, 0, -1, -1, 0};////将要走的4个方向保存在二维数组中 int zx = x*2; int zy = y*2; int next, turn, i; mg[zx][zy] = 0; if(rand()%2) turn = 1; else turn = 3; for(i=0,next=rand()%4;i
    2022-01-26 05:46:58下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载