Calculate on strings.

Revision en1, by thanhchauns2, 2021-08-10 01:17:14

I just want to share something to community, after I found this problem in the problemset (which the answer cannot be display as long long integer). Here is my class to calculate on strings (include add, substract, multiply, divide (as two strings), modulo and take gcd, I will add bitwise operators later).

Hope you will find it useful. If you find this incomplete, I would love to read any feedback.

Code

Hope you will find this helpful ^_^ Thanks for reading.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English thanhchauns2 2021-08-10 01:27:57 16
en1 English thanhchauns2 2021-08-10 01:17:14 5525 Initial revision (published)