登录
首页 » C# » 高精度整数问题« 问题描述:(1) 设计一个表示高精度整数的模板类,它支持对任意大整数的输入、输出和四则运算(+、...

高精度整数问题« 问题描述:(1) 设计一个表示高精度整数的模板类,它支持对任意大整数的输入、输出和四则运算(+、...

于 2022-02-01 发布 文件大小:2.34 kB
0 149
下载积分: 2 下载次数: 1

代码说明:

高精度整数问题« 问题描述:(1) 设计一个表示高精度整数的模板类,它支持对任意大整数的输入、输出和四则运算(+、-、´ 、¸ ),其中除法运算应输出所得的商和余数。(2) 用上述高精度整数的模板类,计算大整数组合数和Catalan数的精确值。« 编程任务:给定大整数m和n,计算÷ ÷ø ö ç ç èæ nm和C(m)的精确值。« 数据输入:由文件input.txt给出输入数据。第一行有2 个正整数m和n。« 结果输出:将计算出的÷ ÷ø ö ç ç èæ nm和) (m C 的精确值输出到文件output.txt。文件的第一行是÷ ÷ø ö ç ç èæ nm的精确值,第2 行是C(m)的精确值。输入文件示例 输出文件示例input.txt output.txt5 3 1042-problems laquo precision integer; Problem description : (1) design a high-precision integer said the template category, which supports the arbitrary large integer input, output and four Operators (,-, acute; , Cedil;) That division should Operational output and the number of I . (2) the use of such high-precision integer type of template to calculate large integer number and composition of the Catalan few precise value. Laquo; Programming tasks : to set large integers m and n, calculate oslash; Ouml; Ccedil; Ccedil;

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

发表评论

0 个回复

  • STM32F103C8T6软件升级IAP IAP-Bootloader V1.0
    说明:  STM32F103C8T6软件升级IAP的Bootloader文件实测可用(STM32F103C8T6 Software Upgrade IAP Bootloader File is available)
    2020-06-25 05:20:02下载
    积分:1
  • AMRNB语音编解码器浮点代码
    AMRNB语音编解码器 无线通信领域经典的,也是现在用的最多的编解码标准,GSM、WCDMA窄带部分都是用这个编解码。 AMR的编解码是基于ANSI-C实现的编解码浮点代码。
    2023-05-04 18:20:03下载
    积分:1
  • ZigBee2006
    说明:   德州仪器(TI)宣布推出业界首款带硬件定位引擎的片上系统(SoC)解决方案 CC2431,以 满足低功耗 ZigBee/IEEE802.15.4 无线传感器网络应用的需求。这款来自 Chipcon 产品系列 的器件可满足多种应用要求,其中包括资产和设备跟踪、库存控制、病患监护、远程控制、 安全监控网络等应用,此外,TI领先的 ZigBee协议栈 Z-Stack 还提供有关支持。 CC2431 建立在业界首款针对低功耗 RF 应用的 SoC 解决方案 CC2430 的基础之上。上 述两款器件将业界领先的CC2420 RF收发器内核与增强型8051微控制器的出色性能完美结 合,具有高达 128kB 的闪存、8kB的 RAM 以及许多附加功能,而这一切仅采用一个 7 毫米 x7 毫米小型封装就实现了。 CC2431基于RSSI(Received Signal Strength Indicator)的定位引擎能根据接收信号强度与 已知 CC2430参考节点位置准确计算出有关节点位置,然后将位置信息发送给接收端,如电 脑、PDA、手机等。相比于集中型的定位系统,RSSI 功能降低了网络流量与通信延迟,在 典型应用中可实现 3 至5 米的精度。 (The CC2431 is a true System-On-Chip (SOC) for wireless sensor networking ZigBee™ / 802.15.4 solutions with location detection engine hardware onboard allowing location accuracy of around 3 meters or less. It enables ZigBee™ nodes to be built with very low total bill-of-material costs. The CC2431 combines the excellent performance of the leading CC2420 RF transceiver with an industry-standard enhanced 8051 MCU, 128 KB flash memory, 8 KB RAM and many other powerful features. Combined with the industry leading ZigBee™ protocol stack (Z-Stack™ ) from Figure 8 Wireless/Chipcon, the CC2431 provides the market’s most competitive ZigBee™ solution. The CC2431 is highly suited for systems where ultra low power consumption is required. This is achieved by various operating modes. Short transition times between these modes further ensure low power consumption. )
    2021-03-09 17:49:27下载
    积分:1
  • meanfilter
    c and matlab code work together. It implement the meanfilter function.(c code and matlab co-work. This function shows the meanfilter of image. You can try the code. There is no bug inside. )
    2012-12-28 17:33:44下载
    积分:1
  • GPS
    只对未知点设立未知参数的高程网与GPS基线网平差(Only the establishment of unknown parameters elevation network and GPS baseline network adjustment of the unknown point)
    2017-01-09 13:48:51下载
    积分:1
  • Hex2bin-2.5
    HEX 转换到BIN格式的工具,网上下载来的工具,经过改造。(HEX conversion to BIN format tools, tools downloaded online, after transformation.)
    2020-06-18 17:40:02下载
    积分:1
  • 矿井监测项目源码
    矿井监测项目源码 硬件平台基于LPC1788 移植了网络和文件系统 基于UCOS实时操作系统
    2022-02-14 19:06:55下载
    积分:1
  • emmc
    说明:  emmc 4.5底层代码,用于新手学习 练手。(emmc code for study)
    2018-12-27 11:19:04下载
    积分:1
  • LS
    说明:  对最小二乘法,进行了MATLAB仿真分析,性能不错(Of least squares, for the MATLAB simulation, good performance)
    2011-07-04 16:26:41下载
    积分:1
  • process_schedule
    演示进程调度算法 使用的链表 包涵7个功能 4个算法(Process Scheduling Algorithm Demo )
    2011-12-24 10:52:17下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载