Re: [閒聊] 用 C/C++ 處理大整數的四則運算

作者: Leon (Achilles)   2014-04-22 14:06:33
※ 引述《stiles (stiles)》之銘言:
: 小弟看到一題,在 https://code.google.com/codejam/contest/32016/dashboard#s=p0
: 重點是要實作大整數的加法與乘法(請看 large file )
: 小弟知道 Java 的 JDK 有在 java.math.* 裡實作這個,
: 請問,在 C/C++ 的話,有立刻可以用的 api 或 class 嗎?
: 自己實作好像在時間上不划算,因為 150 分鐘內,共要完成 3 題,這題只是其中一題。
: 請教各位先進,有何建議呢?感謝您~
1. Use GMP..
https://gmplib.org/
2. If you want to make you life easy, try Python..
作者: stiles (stiles)   2014-04-22 16:54:00
感恩~~

Links booklink

Contact Us: admin [ a t ] ucptt.com