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

来自刘领献的问题

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

  c中怎么定义大的整数

  Noticethattheintegersareverylarge,thatmeansyoushouldnotprocessthembyusing32-bitinteger.Youmayassumethelengthofeachintegerwillnotexceed1000.

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

1回答
2019-12-2501:02
我要回答
提示:回答问题需要登录哦!
孙广清

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

2019-12-25 01:06:11
大家都在问
最新问答