Calculate modulo of a large number represented as a string

后端 未结 0 774
Happy的楠姐
Happy的楠姐 2021-01-29 05:52

Suppose I have a large number (around 10^5 digits) and I have to calculate num % a where a is less than 10^9 i.e. it is in the int range of C++. There\'s this code :-

<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题