简体   繁体   中英

summary of chapter 2 in Data Structure and Algorithm Analysis in C

When summarized the chapter 2, the author mentioned that

"Specifically, a 200-digit number is raised to a large power (usually another 200-digit number), with only the low 200 or so digits retained after each multiplication."

Q :What is this mean? PS:My English is a little bad.

如果将200替换为3,这将意味着类似于计算123 ^ 456,但仅保留低3位数字(一个,几十个和几百个位),在数学上等同于(123 ^ 456)%1000。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM