首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C# > 高精度整数问题« 问题描述:(1) 设计一个表示高精度整数的模板类,它支持对任意大整数的输入、输出和四则运算(+、...

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

  • 资源大小:2.34 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: C#

资 源 简 介

高精度整数问题« 问题描述:(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;

文 件 列 表

030300336cata.cpp
VIP VIP
  • IATWAY 1天前 成为了本站会员

  • 大智若愚 1天前 成为了本站会员

  • Mason 1天前 成为了本站会员

  • 1天前 成为了本站会员

  • Half_Punch 2天前 成为了本站会员

  • liqing71718 2天前 成为了本站会员

  • 伟国 2天前 成为了本站会员

  • songy 2天前 成为了本站会员

  • 纯色幽默 2天前 成为了本站会员

  • odd? 2天前 成为了本站会员

0.177754s