c中怎么定义大的整数Noticethattheinteger-查字典问答网
分类选择

来自刘领献的问题

  c中怎么定义大的整数Noticethattheintegersareverylarge,thatmeansyoushouldnotprocessthembyusing32-bitinteger.Youmayassumethelengthofeachintegerwillnotexceed1000.我用longint好像也不行.大侠们救救我

  c中怎么定义大的整数

  Noticethattheintegersareverylarge,thatmeansyoushouldnotprocessthembyusing32-bitinteger.Youmayassumethelengthofeachintegerwillnotexceed1000.

  我用longint好像也不行.大侠们救救我

1回答
2019-12-25 01:02
我要回答
请先登录
孙广清

  任何系统提供的类型都不行,你得自己定义大数算法,利用数组之类得结构存储这种大数,并自己定义相应得运算方法如乘法和加法等

2019-12-25 01:06:11

最新问答

推荐文章

猜你喜欢

附近的人在看

推荐阅读

拓展阅读

  • 大家都在看
  • 小编推荐
  • 猜你喜欢
  •